C# / .Net API Library Reference  4.3.2-74-ge1d4cca
Public Functions
IStateManagerPlugin Interface Reference

The IStateManagerPlugin defines the common interface that all plugins are required to implement.

Public Functions

void Initialize (StateManager stateManager)
 
void SessionConnected (Guid sessionId, XElement command)
 
void SessionDisconnected (Guid sessionId, XElement command)
 
void Uninitialize ()
 

Usage Description

void Initialize ( StateManager  stateManager)

Initializes the plugin with the specified StateManager.

Parameters
stateManagerThe StateManager.

Implemented in ViewManager.

void SessionConnected ( Guid  sessionId,
XElement  command 
)

Indicates that the specified session is connected.

Parameters
sessionIdThe session's unique identifier.
commandThe command that caused the connection.
void SessionDisconnected ( Guid  sessionId,
XElement  command 
)

Indicates that the specified session is disconnected.

Parameters
sessionIdThe session's unique identifer.
commandThe command that caused the disconnection.
void Uninitialize ( )

Uninitializes the plugin.

Implemented in ViewManager.