C# 클래스 Tce.RpcConnectionSocket

상속: RpcConnection
파일 보기 프로젝트 열기: adoggie/TCE

보호된 프로퍼티들

프로퍼티 타입 설명
_ep RpcEndpointSocket
_sent_num long
_sock Socket
_ssl bool
_thread Thread
_token string

공개 메소드들

메소드 설명
RpcConnectionSocket ( RpcEndpointSocket ep ) : System
RpcConnectionSocket ( string host, int port, bool ssl ) : System
close ( ) : void
open ( ) : void

보호된 메소드들

메소드 설명
connect ( ) : bool
createMetaPacketHeader ( int msg_size ) : byte[]
createMsgBody ( RpcMessage m ) : MemoryStream
newSocket ( ) : Socket
onDisconnected ( ) : void
parsePacket ( MemoryStream stream ) : ReturnValue
run ( ) : void
sendDetail ( RpcMessage m ) : bool

메소드 상세

RpcConnectionSocket() 공개 메소드

public RpcConnectionSocket ( RpcEndpointSocket ep ) : System
ep RpcEndpointSocket
리턴 System

RpcConnectionSocket() 공개 메소드

public RpcConnectionSocket ( string host, int port, bool ssl ) : System
host string
port int
ssl bool
리턴 System

close() 공개 메소드

public close ( ) : void
리턴 void

connect() 보호된 메소드

protected connect ( ) : bool
리턴 bool

createMetaPacketHeader() 보호된 메소드

protected createMetaPacketHeader ( int msg_size ) : byte[]
msg_size int
리턴 byte[]

createMsgBody() 보호된 메소드

protected createMsgBody ( RpcMessage m ) : MemoryStream
m RpcMessage
리턴 System.IO.MemoryStream

newSocket() 보호된 메소드

protected newSocket ( ) : Socket
리턴 Socket

onDisconnected() 보호된 메소드

protected onDisconnected ( ) : void
리턴 void

open() 공개 메소드

public open ( ) : void
리턴 void

parsePacket() 보호된 메소드

protected parsePacket ( MemoryStream stream ) : ReturnValue
stream System.IO.MemoryStream
리턴 ReturnValue

run() 보호된 메소드

protected run ( ) : void
리턴 void

sendDetail() 보호된 메소드

protected sendDetail ( RpcMessage m ) : bool
m RpcMessage
리턴 bool

프로퍼티 상세

_ep 보호되어 있는 프로퍼티

protected RpcEndpointSocket,Tce _ep
리턴 RpcEndpointSocket

_sent_num 보호되어 있는 프로퍼티

protected long _sent_num
리턴 long

_sock 보호되어 있는 프로퍼티

protected Socket _sock
리턴 Socket

_ssl 보호되어 있는 프로퍼티

protected bool _ssl
리턴 bool

_thread 보호되어 있는 프로퍼티

protected Thread _thread
리턴 Thread

_token 보호되어 있는 프로퍼티

protected string _token
리턴 string