Method | Description | |
---|---|---|
OnAsyncConnResult ( |
When a Service.AsyncConn result, will call this handler to process.
|
|
OnDestroy ( ) : void |
When service destroy, will call this method to destroy Facade.
|
|
OnIdle ( int idleTime ) : void |
Service per-frame idle handler.
|
|
OnInit ( ) : void |
When facade first start, will call this method to initialize Facade before OnStart method call.
|
|
OnProtoReport ( |
When proto-stack has message to report, will call this handler to process.
|
|
OnSessionCreate ( |
When new session create, will call this handler to process.
|
|
OnSessionDestroy ( |
When session destroyed, will call this handler to process.
|
|
OnStart ( ) : void |
When service startup, will call this method.
|
|
OnStop ( ) : void |
When service stop, will call this method.
|
|
OnUnHandledPacket ( |
When one packet unhandled, will call this handler to process.
|
|
OnUpdate ( ) : void |
Service update handler.
|
public OnAsyncConnResult ( |
||
asyncConnResult | async-connect result info | |
return | void |
public OnIdle ( int idleTime ) : void | ||
idleTime | int | idle time, in milli-seconds |
return | void |
public OnProtoReport ( |
||
report | report message info | |
return | void |
public OnSessionCreate ( |
||
sessionInfo | new session info | |
return | void |
public OnSessionDestroy ( |
||
destroyInfo | destroy info | |
return | void |
public OnUnHandledPacket ( |
||
packet | ||
return | void |