TCPHost Constructors

Definition

Overloads

TCPHost(IPEndPoint, ILogger)

Creates a new TCPHost instance

TCPHost(IPEndPoint, Int32, Int32)

Creates a new TCPHost instance

TCPHost(IPEndPoint, Int32, Int32, Int32)

Creates a new TCPHost instance

TCPHost(IPEndPoint, ILogger, Int32, Int32)

Creates a new TCPHost instance

TCPHost(IPEndPoint, ILogger, Int32, Int32, Int32)

Creates a new TCPHost instance

TCPHost(IPEndPoint, ILogger)

Creates a new TCPHost instance

public TCPHost (System.Net.IPEndPoint endPoint, VoltRpc.Logging.ILogger logger = default);

Parameters

endPoint
IPEndPoint

The IPEndPoint to listen on

logger
ILogger

The ILogger to use. Will default to NullLogger if null

Applies to

TCPHost(IPEndPoint, Int32, Int32)

Creates a new TCPHost instance

public TCPHost (System.Net.IPEndPoint endPoint, int receiveTimeout, int sendTimeout);

Parameters

endPoint
IPEndPoint

The IPEndPoint to listen on

receiveTimeout
Int32

How long until timeout from receiving

sendTimeout
Int32

How long until timeout from sending

Applies to

TCPHost(IPEndPoint, Int32, Int32, Int32)

Creates a new TCPHost instance

public TCPHost (System.Net.IPEndPoint endPoint, int bufferSize, int receiveTimeout = 600000, int sendTimeout = 600000);

Parameters

endPoint
IPEndPoint

The IPEndPoint to listen on

bufferSize
Int32

The initial size of the buffers

receiveTimeout
Int32

How long until timeout from receiving

sendTimeout
Int32

How long until timeout from sending

Applies to

TCPHost(IPEndPoint, ILogger, Int32, Int32)

Creates a new TCPHost instance

public TCPHost (System.Net.IPEndPoint endPoint, VoltRpc.Logging.ILogger logger, int receiveTimeout, int sendTimeout);

Parameters

endPoint
IPEndPoint

The IPEndPoint to listen on

logger
ILogger

The ILogger to use. Will default to NullLogger if null

receiveTimeout
Int32

How long until timeout from receiving

sendTimeout
Int32

How long until timeout from sending

Applies to

TCPHost(IPEndPoint, ILogger, Int32, Int32, Int32)

Creates a new TCPHost instance

public TCPHost (System.Net.IPEndPoint endPoint, VoltRpc.Logging.ILogger logger, int bufferSize, int receiveTimeout = 600000, int sendTimeout = 600000);

Parameters

endPoint
IPEndPoint

The IPEndPoint to listen on

logger
ILogger

The ILogger to use. Will default to NullLogger if null

bufferSize
Int32

The initial size of the buffers

receiveTimeout
Int32

How long until timeout from receiving

sendTimeout
Int32

How long until timeout from sending

Exceptions

Will throw if the buffer size is less then 16

Applies to