C# Class Automobile.Communication.Tcp.TcpCommunicator

A communicator which operates over TCP
Inheritance: Communicator
Show file Open project: vistaprint/automobile

Public Methods

Method Description
Close ( ) : void

Close the stream

Initialize ( ) : void

Prepare the stream for reading and writing

Protected Methods

Method Description
TcpCommunicator ( IPAddress ip, int port ) : System.Net

A Communicator with a given IP and Port

Method Details

Close() public method

Close the stream
public Close ( ) : void
return void

Initialize() public method

Prepare the stream for reading and writing
public Initialize ( ) : void
return void

TcpCommunicator() protected method

A Communicator with a given IP and Port
protected TcpCommunicator ( IPAddress ip, int port ) : System.Net
ip System.Net.IPAddress IP associated with this TcpCommunicator
port int Port associated with this TcpCommunicator
return System.Net