메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes the object.
|
메소드 | 설명 | |
---|---|---|
GetPackageSubscriber ( |
Gets a list of all matching package listeners.
|
|
Idle ( ) : void |
Idles the thread.
|
|
InternalBeginReceive ( ) : void |
Starts receiving data.
|
public Connect ( |
||
ip | The Serverip. | |
리턴 | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | Indicates whether managed resources should be disposed. |
리턴 | void |
public Send ( IBasePackage package, |
||
package | IBasePackage | The Package. |
receiver | The Receiver. | |
리턴 | void |
public Subscribe ( IClientListener subscriber ) : void | ||
subscriber | IClientListener | The Subscriber. |
리턴 | void |
public Subscribe ( IPackageListener subscriber ) : void | ||
subscriber | IPackageListener | The Subscriber. |
리턴 | void |
public Unsubscribe ( IClientListener unsubscriber ) : void | ||
unsubscriber | IClientListener | The Unsubscriber. |
리턴 | void |
public Unsubscribe ( IPackageListener unsubscriber ) : void | ||
unsubscriber | IPackageListener | The Unsubscriber. |
리턴 | void |