Property | Type | Description | |
---|---|---|---|
Name | string |
Method | Description | |
---|---|---|
BeginConnect ( |
begin connect
|
|
SocketConnector ( string name, |
new
|
|
Start ( ) : void |
start
|
|
Stop ( ) : void |
stop
|
Method | Description | |
---|---|---|
OnDisconnected ( IConnection connection, |
断开连接
|
public static BeginConnect ( |
||
endPoint | ||
host | IHost | |
callback | Action |
|
return | void |
public SocketConnector ( string name, |
||
name | string | |
endPoint | ||
host | IHost | |
onConnected | Action |
|
onDisconnected | Exception>.Action | |
return | System |