C# Class NetworkCommsDotNet.Tools.PeerDiscovery.PeerListenerEndPoint

Used to communicate discoverable listeners between peers
Mostra file Open project: MarcFletcher/NetworkComms.Net

Public Methods

Method Description
Deserialize ( byte data ) : PeerListenerEndPoint
PeerListenerEndPoint ( ConnectionType connectionType, EndPoint endPoint ) : System
Serialize ( ) : byte[]

Private Methods

Method Description
PeerListenerEndPoint ( ) : System

Method Details

Deserialize() public static method

public static Deserialize ( byte data ) : PeerListenerEndPoint
data byte
return PeerListenerEndPoint

PeerListenerEndPoint() public method

public PeerListenerEndPoint ( ConnectionType connectionType, EndPoint endPoint ) : System
connectionType ConnectionType
endPoint EndPoint
return System

Serialize() public method

public Serialize ( ) : byte[]
return byte[]