C# Class Gwupe.Communication.P2P.P2P.Socket.BmUdtSocket

Inheritance: ITunnelEndpoint
Show file Open project: gwupe/Gwupe

Protected Properties

Property Type Description
UdtConnection Udt.Socket

Public Methods

Method Description
BmUdtSocket ( ) : System
Close ( ) : void
Connect ( ) : void
ListenOnce ( ) : void
Read ( byte data, int maxRead ) : int
Send ( byte data, int length ) : void
Sync ( PeerInfo peer, string syncId, List syncTypes = null ) : IPEndPoint
ToString ( ) : String
WaitForSync ( PeerInfo peer, String syncId, List syncTypes = null ) : IPEndPoint
Wave ( IPEndPoint facilitator ) : PeerInfo

Protected Methods

Method Description
OnConnectionClosed ( ) : void
OnConnectionOpened ( ) : void

Private Methods

Method Description
SetupUdtSocket ( ) : Udt.Socket

Method Details

BmUdtSocket() public method

public BmUdtSocket ( ) : System
return System

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

ListenOnce() public method

public ListenOnce ( ) : void
return void

OnConnectionClosed() protected method

protected OnConnectionClosed ( ) : void
return void

OnConnectionOpened() protected method

protected OnConnectionOpened ( ) : void
return void

Read() public method

public Read ( byte data, int maxRead ) : int
data byte
maxRead int
return int

Send() public method

public Send ( byte data, int length ) : void
data byte
length int
return void

Sync() public method

public Sync ( PeerInfo peer, string syncId, List syncTypes = null ) : IPEndPoint
peer Gwupe.Communication.P2P.P2P.Tunnel.PeerInfo
syncId string
syncTypes List
return System.Net.IPEndPoint

ToString() public method

public ToString ( ) : String
return String

WaitForSync() public method

public WaitForSync ( PeerInfo peer, String syncId, List syncTypes = null ) : IPEndPoint
peer Gwupe.Communication.P2P.P2P.Tunnel.PeerInfo
syncId String
syncTypes List
return System.Net.IPEndPoint

Wave() public method

public Wave ( IPEndPoint facilitator ) : PeerInfo
facilitator System.Net.IPEndPoint
return Gwupe.Communication.P2P.P2P.Tunnel.PeerInfo

Property Details

UdtConnection protected property

protected Udt.Socket UdtConnection
return Udt.Socket