C# 클래스 ET.KService

상속: ET.AService
파일 보기 프로젝트 열기: zzjfengqing/ET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
StartTime long

공개 메소드들

메소드 설명
AddToUpdateNextTime ( long time, long id ) : void
ChangeAddress ( long id, IPEndPoint address ) : void
Dispose ( ) : void
IsDispose ( ) : bool
KService ( ET.ThreadSynchronizationContext threadSynchronizationContext, IPEndPoint ipEndPoint, ServiceType serviceType ) : System
KService ( ET.ThreadSynchronizationContext threadSynchronizationContext, ServiceType serviceType ) : System
Remove ( long id ) : void
Update ( ) : void

보호된 메소드들

메소드 설명
Get ( long id, IPEndPoint address ) : void
Send ( long channelId, long actorId, MemoryStream stream ) : void

비공개 메소드들

메소드 설명
CloneAddress ( ) : IPEndPoint
Disconnect ( uint localConn, uint remoteConn, int error, IPEndPoint address, int times ) : void
Get ( long id ) : ET.KChannel
GetByLocalConn ( uint localConn ) : ET.KChannel
KService ( ) : System
KcpLog ( IntPtr bytes, int len, IntPtr kcp, IntPtr user ) : void
KcpOutput ( IntPtr bytes, int len, IntPtr kcp, IntPtr user ) : int
Recv ( ) : void
RemoveConnectTimeoutChannels ( ) : void
TimerOut ( ) : void

메소드 상세

AddToUpdateNextTime() 공개 메소드

public AddToUpdateNextTime ( long time, long id ) : void
time long
id long
리턴 void

ChangeAddress() 공개 메소드

public ChangeAddress ( long id, IPEndPoint address ) : void
id long
address IPEndPoint
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Get() 보호된 메소드

protected Get ( long id, IPEndPoint address ) : void
id long
address IPEndPoint
리턴 void

IsDispose() 공개 메소드

public IsDispose ( ) : bool
리턴 bool

KService() 공개 메소드

public KService ( ET.ThreadSynchronizationContext threadSynchronizationContext, IPEndPoint ipEndPoint, ServiceType serviceType ) : System
threadSynchronizationContext ET.ThreadSynchronizationContext
ipEndPoint IPEndPoint
serviceType ServiceType
리턴 System

KService() 공개 메소드

public KService ( ET.ThreadSynchronizationContext threadSynchronizationContext, ServiceType serviceType ) : System
threadSynchronizationContext ET.ThreadSynchronizationContext
serviceType ServiceType
리턴 System

Remove() 공개 메소드

public Remove ( long id ) : void
id long
리턴 void

Send() 보호된 메소드

protected Send ( long channelId, long actorId, MemoryStream stream ) : void
channelId long
actorId long
stream MemoryStream
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

StartTime 공개적으로 프로퍼티

public long StartTime
리턴 long