Method | Description | |
---|---|---|
Close ( ) : void |
Closes the server.
|
|
LocalServer ( ) : System |
Initializes a new LocalServer class.
|
|
Send ( IBasePackage package ) : void |
Sends a package to the given receivers.
|
|
Send ( IBasePackage package, |
Sends a package to the given receivers.
|
|
Subscribe ( IPackageListener subscriber ) : void |
Subscribes to a Client.
|
|
Unsubscribe ( IPackageListener unsubscriber ) : void |
Unsubscribes from a Client.
|
Method | Description | |
---|---|---|
BeginAcceptConnections ( ) : void |
Accepts clients if available.
|
|
GetConnection ( |
Gets the connection.
|
|
GetPackageSubscriber ( |
Gets a list of all matching package listeners.
|
|
HandleClient ( object objConnection ) : void |
Handles a connection.
|
|
Idle ( ) : void |
Idles the thread.
|
|
PingRequestLoop ( ) : void |
Sending a ping request every 30 seconds to all clients.
|
|
SendNotificationPackage ( NotificationMode mode, IConnection connections ) : void |
Sends a NotificationPackage to all clients.
|
|
SendTo ( IBasePackage package, |
Sends a package to a specified client.
|
|
SendToAllClients ( IBasePackage package ) : void |
Sends a package to all clients.
|
|
SetLatency ( |
Sets the latency of a connection.
|
public Send ( IBasePackage package ) : void | ||
package | IBasePackage | The Package. |
return | void |
public Send ( IBasePackage package, |
||
package | IBasePackage | The Package. |
receiver | The Receiver. | |
return | void |
public Subscribe ( IPackageListener subscriber ) : void | ||
subscriber | IPackageListener | The Subscriber. |
return | void |
public Unsubscribe ( IPackageListener unsubscriber ) : void | ||
unsubscriber | IPackageListener | The Unsubscriber. |
return | void |