Method | Description | |
---|---|---|
BeginReceive ( ) : void |
Receives a package.
|
|
Connect ( |
Connects to the local server.
|
|
Disconnect ( ) : void |
Disconnect from the local server.
|
|
Dispose ( ) : void |
Disposes the object.
|
|
LocalClient ( ) : System |
Initializes a new LocalClient class.
|
|
Send ( IBasePackage package ) : void |
Sends a package to the given receivers.
|
|
Send ( IBasePackage package, |
Sends a package to the given receivers.
|
|
Subscribe ( IClientListener subscriber ) : void |
Subscribes to a Client.
|
|
Subscribe ( IPackageListener subscriber ) : void |
Subscribes to a Client.
|
|
Unsubscribe ( IClientListener unsubscriber ) : void |
Unsubscribes from a Client.
|
|
Unsubscribe ( IPackageListener unsubscriber ) : void |
Unsubscribes from a Client.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the object.
|
Method | Description | |
---|---|---|
GetPackageSubscriber ( |
Gets a list of all matching package listeners.
|
|
Idle ( ) : void |
Idles the thread.
|
|
InternalBeginReceive ( ) : void |
Starts receiving data.
|
public Connect ( |
||
ip | The Serverip. | |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Indicates whether managed resources should be disposed. |
return | void |
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 ( IClientListener subscriber ) : void | ||
subscriber | IClientListener | The Subscriber. |
return | void |
public Subscribe ( IPackageListener subscriber ) : void | ||
subscriber | IPackageListener | The Subscriber. |
return | void |
public Unsubscribe ( IClientListener unsubscriber ) : void | ||
unsubscriber | IClientListener | The Unsubscriber. |
return | void |
public Unsubscribe ( IPackageListener unsubscriber ) : void | ||
unsubscriber | IPackageListener | The Unsubscriber. |
return | void |