Method | Description | |
---|---|---|
Start ( ) : void |
Starts the server.
|
|
Stop ( ) : void |
Stops the server.
|
Method | Description | |
---|---|---|
CreateConnectionListener ( ) : IConnectionListener |
This method is implemented by derived Classs to create appropriate connection listener to listen incoming connection requets.
|
|
OnClientConnected ( IScsServerClient client ) : void |
Raises ClientConnected event.
|
|
OnClientDisconnected ( IScsServerClient client ) : void |
Raises ClientDisconnected event.
|
|
ScsServerBase ( ) : System |
Constructor.
|
Method | Description | |
---|---|---|
Client_Disconnected ( object sender, |
Handles Disconnected events of all connected clients.
|
|
ConnectionListener_CommunicationChannelConnected ( object sender, |
Handles CommunicationChannelConnected event of _connectionListener object.
|
protected abstract CreateConnectionListener ( ) : IConnectionListener | ||
return | IConnectionListener |
protected OnClientConnected ( IScsServerClient client ) : void | ||
client | IScsServerClient | Connected client |
return | void |
protected OnClientDisconnected ( IScsServerClient client ) : void | ||
client | IScsServerClient | Disconnected client |
return | void |