Property | Type | Description | |
---|---|---|---|
onAppErrorFn | |||
onConnectionCloseFn | |||
onConnectionFn | |||
onConnectionTimeoutFn | |||
onIntervalFn | |||
onMessageReceiveFn | |||
onReConnectFn | |||
pingDelay | float | ||
timeoutMiliSecond | int |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Close ( ) : void | ||
Connect ( string host, int port ) : void | ||
Dispose ( ) : void | ||
New ( ) : |
||
OnDestroy ( ) : void | ||
ReConnect ( ) : void | ||
Receive ( ) : void | ||
Send ( |
||
Send ( byte bytes ) : void | ||
SendErro ( string type, string desc ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
OnConnected ( IAsyncResult rs ) : void | ||
SendCallback ( IAsyncResult rs ) : void |
public Connect ( string host, int port ) : void | ||
host | string | |
port | int | |
return | void |
public SendErro ( string type, string desc ) : void | ||
type | string | |
desc | string | |
return | void |
public LuaFunction,SLua onConnectionCloseFn | ||
return |
public LuaFunction,SLua onConnectionTimeoutFn | ||
return |
public LuaFunction,SLua onMessageReceiveFn | ||
return |