C# Class Gwupe.Communication.P2P.RUDP.Utils.TCPConnectionHelper

Show file Open project: gwupe/Gwupe Class Usage Examples

Public Methods

Method Description
ConnectNamed ( byte connectionId, String namedEndPoint, int timeout, byte protocolId ) : ITcpTransportLayer
DisconnectConnection ( byte connectionId, ushort seq ) : void
ProcessConnectRs ( StandardNamedConnectRsPacket packet ) : void
ProcessDisconnectAck ( StandardDisconnectAckPacket packet ) : void
ProcessDisconnectRs ( StandardDisconnectRsPacket packet ) : void
TCPConnectionHelper ( TCPTransport transport ) : System

Method Details

ConnectNamed() public method

public ConnectNamed ( byte connectionId, String namedEndPoint, int timeout, byte protocolId ) : ITcpTransportLayer
connectionId byte
namedEndPoint String
timeout int
protocolId byte
return ITcpTransportLayer

DisconnectConnection() public method

public DisconnectConnection ( byte connectionId, ushort seq ) : void
connectionId byte
seq ushort
return void

ProcessConnectRs() public method

public ProcessConnectRs ( StandardNamedConnectRsPacket packet ) : void
packet Gwupe.Communication.P2P.RUDP.Packet.TCP.StandardNamedConnectRsPacket
return void

ProcessDisconnectAck() public method

public ProcessDisconnectAck ( StandardDisconnectAckPacket packet ) : void
packet Gwupe.Communication.P2P.RUDP.Packet.TCP.StandardDisconnectAckPacket
return void

ProcessDisconnectRs() public method

public ProcessDisconnectRs ( StandardDisconnectRsPacket packet ) : void
packet Gwupe.Communication.P2P.RUDP.Packet.TCP.StandardDisconnectRsPacket
return void

TCPConnectionHelper() public method

public TCPConnectionHelper ( TCPTransport transport ) : System
transport Gwupe.Communication.P2P.RUDP.Tunnel.Transport.TCPTransport
return System