C# 클래스 Gwupe.Communication.P2P.RUDP.Tunnel.Transport.TCPTransport

상속: ITCPTransport
파일 보기 프로젝트 열기: gwupe/Gwupe 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
CloseConnection ( byte connectionId ) : void
Listen ( string endPoint, bool>.Func callback ) : void
OpenConnection ( String endPoint, byte protocolId ) : ITcpOverUdptSocket
OpenConnection ( string endPoint ) : ITcpOverUdptSocket
ProcessPacket ( byte packetData ) : void
SendData ( ITcpPacket packet ) : void
StopListen ( string endPoint ) : void
TCPTransport ( ITransportManager transportManager ) : System

비공개 메소드들

메소드 설명
CloseConnections ( ) : void
ConnectionOnConnectionClose ( object sender, EventArgs eventArgs ) : void
GetNextConnectionId ( ) : byte
ProcessAckPacket ( StandardAckPacket packet ) : void
ProcessConnectRsAck ( StandardConnectRsAckPacket packet ) : void
ProcessDataPacket ( StandardTcpDataPacket packet ) : void
ProcessDisconnectPacket ( StandardDisconnectPacket packet ) : void
ProcessNamedConnectionRequest ( StandardNamedConnectRqPacket packet ) : void

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

CloseConnection() 공개 메소드

public CloseConnection ( byte connectionId ) : void
connectionId byte
리턴 void

Listen() 공개 메소드

public Listen ( string endPoint, bool>.Func callback ) : void
endPoint string
callback bool>.Func
리턴 void

OpenConnection() 공개 메소드

public OpenConnection ( String endPoint, byte protocolId ) : ITcpOverUdptSocket
endPoint String
protocolId byte
리턴 ITcpOverUdptSocket

OpenConnection() 공개 메소드

public OpenConnection ( string endPoint ) : ITcpOverUdptSocket
endPoint string
리턴 ITcpOverUdptSocket

ProcessPacket() 공개 메소드

public ProcessPacket ( byte packetData ) : void
packetData byte
리턴 void

SendData() 공개 메소드

public SendData ( ITcpPacket packet ) : void
packet ITcpPacket
리턴 void

StopListen() 공개 메소드

public StopListen ( string endPoint ) : void
endPoint string
리턴 void

TCPTransport() 공개 메소드

public TCPTransport ( ITransportManager transportManager ) : System
transportManager ITransportManager
리턴 System