C# Class org.GraphDefined.Vanaheimr.Hermod.Sockets.ALocalRemoteSockets

An abstract class for all TCP streams and UDP packets.
Inheritance: IDisposable
ファイルを表示 Open project: Vanaheimr/Hermod

Public Methods

Method Description
ALocalRemoteSockets ( ) : System

Create a new abstract ALocalRemoteSockets.

ALocalRemoteSockets ( IPSocket LocalSocket, IPSocket RemoteSocket ) : System

Create a new abstract ALocalRemoteSockets.

Dispose ( ) : void

Dispose this packet.

ToString ( ) : String

Return a string representation of this object.

Method Details

ALocalRemoteSockets() public method

Create a new abstract ALocalRemoteSockets.
public ALocalRemoteSockets ( ) : System
return System

ALocalRemoteSockets() public method

Create a new abstract ALocalRemoteSockets.
public ALocalRemoteSockets ( IPSocket LocalSocket, IPSocket RemoteSocket ) : System
LocalSocket IPSocket The local socket of this UDP packet.
RemoteSocket IPSocket The remote socket of this UDP packet.
return System

Dispose() public method

Dispose this packet.
public Dispose ( ) : void
return void

ToString() public method

Return a string representation of this object.
public ToString ( ) : String
return String