C# 클래스 llbc.IFacade

Service facade base class encapsulation.
파일 보기 프로젝트 열기: lailongwei/llbc

공개 메소드들

메소드 설명
OnAsyncConnResult ( AsyncConnResult asyncConnResult ) : void

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 ( ProtoReport report ) : void

When proto-stack has message to report, will call this handler to process.

OnSessionCreate ( SessionInfo sessionInfo ) : void

When new session create, will call this handler to process.

OnSessionDestroy ( SessionDestroyInfo destroyInfo ) : void

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 ( Packet packet ) : void

When one packet unhandled, will call this handler to process.

OnUpdate ( ) : void

Service update handler.

메소드 상세

OnAsyncConnResult() 공개 메소드

When a Service.AsyncConn result, will call this handler to process.
public OnAsyncConnResult ( AsyncConnResult asyncConnResult ) : void
asyncConnResult AsyncConnResult async-connect result info
리턴 void

OnDestroy() 공개 메소드

When service destroy, will call this method to destroy Facade.
public OnDestroy ( ) : void
리턴 void

OnIdle() 공개 메소드

Service per-frame idle handler.
public OnIdle ( int idleTime ) : void
idleTime int idle time, in milli-seconds
리턴 void

OnInit() 공개 메소드

When facade first start, will call this method to initialize Facade before OnStart method call.
public OnInit ( ) : void
리턴 void

OnProtoReport() 공개 메소드

When proto-stack has message to report, will call this handler to process.
public OnProtoReport ( ProtoReport report ) : void
report ProtoReport report message info
리턴 void

OnSessionCreate() 공개 메소드

When new session create, will call this handler to process.
public OnSessionCreate ( SessionInfo sessionInfo ) : void
sessionInfo SessionInfo new session info
리턴 void

OnSessionDestroy() 공개 메소드

When session destroyed, will call this handler to process.
public OnSessionDestroy ( SessionDestroyInfo destroyInfo ) : void
destroyInfo SessionDestroyInfo destroy info
리턴 void

OnStart() 공개 메소드

When service startup, will call this method.
public OnStart ( ) : void
리턴 void

OnStop() 공개 메소드

When service stop, will call this method.
public OnStop ( ) : void
리턴 void

OnUnHandledPacket() 공개 메소드

When one packet unhandled, will call this handler to process.
public OnUnHandledPacket ( Packet packet ) : void
packet Packet
리턴 void

OnUpdate() 공개 메소드

Service update handler.
public OnUpdate ( ) : void
리턴 void