IROActiveEventServer
Overview
IROActiveEventServer is an interface that provides methods for managing events. This interface is used by some Remoting SDK servers to support event notifications.
Use Case
In most cases you will not use this class, but if you wish to create your own server channel you may want to implement this interface to add events support.
Location
- Unit: uROServerIntf.pas
- Ancestry: IROActiveEventServer
Required Methods
DispatchEvent
This method is called by the event manager to notify the server about a new event.
procedure DispatchEvent(anEventDataItem: TROEventData; aSessionReference: TGUID; aSender: TObject)
Parameters:
- anEventDataItem: Represents an event that fires.
- aSessionReference: Unique identifier that represents the session.
- aSender: Indicates the object that receives the event.
EventsRegistered
This method is called whenever the event manager registers for the specified client.
procedure EventsRegistered(aEventRepository: TObject; aClient: TGUID)
Parameters:
- aEventRepository: Object that will receive the event.
- aClient: GUID that specifies the client.
- Event Sinks and Server Callbacks
- Event Sinks (Service Builder)
- Client
-
Server
- Server Channels
- TRODLLServer
- TROIcsAsyncSuperTCPServer
- TROIpSuperHTTPServer
- TROSuperTCPServer
- TROSynapseSuperTCPServer
- TROWinMessageServer