C# Class Gravitation.Comms.Transevers.TCPTransever

Inheritance: AbstractTransever
Show file Open project: thedamoes/Gravitation Class Usage Examples

Public Methods

Method Description
TCPTransever ( IPEndPoint endpt ) : System
messageListenerWorker ( ) : void
sendMessage ( Messages message ) : void
startListening ( ) : void
startListening ( TcpClient client ) : void
stopListening ( ) : void

Private Methods

Method Description
messageReceved ( IAsyncResult res ) : void

Method Details

TCPTransever() public method

public TCPTransever ( IPEndPoint endpt ) : System
endpt System.Net.IPEndPoint
return System

messageListenerWorker() public method

public messageListenerWorker ( ) : void
return void

sendMessage() public method

public sendMessage ( Messages message ) : void
message Messages
return void

startListening() public method

public startListening ( ) : void
return void

startListening() public method

public startListening ( TcpClient client ) : void
client System.Net.Sockets.TcpClient
return void

stopListening() public method

public stopListening ( ) : void
return void