ServiceEvent(Server, SessionData, CallbackInterface) constructor
Constructs a new ServiceEvent object.
Syntax
public
ServiceEvent
(
Server
server
,
SessionData
sessionData
,
CallbackInterface
cbi
)
Parameters
-
server –
The active Server object, which will be stored into _server.
-
sessionData –
The session data for this service event, which will be stored into _sessionData.
-
cbi –
The native callback object provided by Agentry; do not use this object directly, it will be handled by the dataReceived method of this class.
Usage
Subclasses should provide a constructor with the same arguments, and pass them untouched to this constructor. This constructor will store its arguments into the corresponding member variables of this class, which can then be accessed directly by subclasses.