C# 클래스 VideoCallServer.TCPSocketListener

TCPSocketListener is the direct socket comunication server with client. into is implemented the protocol.
파일 보기 프로젝트 열기: AnthonyNystrom/MobiVU 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_clientSocket Socket

공개 메소드들

메소드 설명
IsMarkedForDeletion ( ) : bool

Method that returns the state of this object i.e. whether this object is marked for deletion or not.

Parser1 ( Byte byBuf, int iLen ) : void
Parser2 ( Byte data, int iLen ) : void
RemoveUsrReference ( ) : void
SendPacket ( int iCmd, byte byBuff, int iLenBuff, Socket sck ) : void
StartSocketListener ( ) : bool

Method that starts SocketListener Thread.

StopSocketListener ( ) : void

Method that stops Client SocketListening Thread.

TCPSocketListener ( Socket clientSocket, TCPServer server ) : System

Client Socket Listener Constructor.

비공개 메소드들

메소드 설명
CheckTimeOut ( object o ) : void

Method that checks whether there are any client calls for the last x seconds or not. If not this client SocketListener will be closed.

SocketListenerThreadPhone ( ) : void

Thread method that does the communication to the client phone. This thread tries to receive from phone and forward to proxy

메소드 상세

IsMarkedForDeletion() 공개 메소드

Method that returns the state of this object i.e. whether this object is marked for deletion or not.
public IsMarkedForDeletion ( ) : bool
리턴 bool

Parser1() 공개 메소드

public Parser1 ( Byte byBuf, int iLen ) : void
byBuf Byte
iLen int
리턴 void

Parser2() 공개 메소드

public Parser2 ( Byte data, int iLen ) : void
data Byte
iLen int
리턴 void

RemoveUsrReference() 공개 메소드

public RemoveUsrReference ( ) : void
리턴 void

SendPacket() 공개 메소드

public SendPacket ( int iCmd, byte byBuff, int iLenBuff, Socket sck ) : void
iCmd int
byBuff byte
iLenBuff int
sck System.Net.Sockets.Socket
리턴 void

StartSocketListener() 공개 메소드

Method that starts SocketListener Thread.
public StartSocketListener ( ) : bool
리턴 bool

StopSocketListener() 공개 메소드

Method that stops Client SocketListening Thread.
public StopSocketListener ( ) : void
리턴 void

TCPSocketListener() 공개 메소드

Client Socket Listener Constructor.
public TCPSocketListener ( Socket clientSocket, TCPServer server ) : System
clientSocket System.Net.Sockets.Socket Phone connection
server TCPServer
리턴 System

프로퍼티 상세

m_clientSocket 공개적으로 프로퍼티

Variables that are accessed by other classes indirectly.
public Socket m_clientSocket
리턴 Socket