TCPClient Class

Definition

A Client that uses TCP to communicate

public sealed class TCPClient : VoltRpc.Communication.Client
Inheritance
System.Object
TCPClient

Constructors

TCPClient(IPEndPoint, Int32, Int32, Int32, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint, Int32, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint, Int32)

Creates a new TCPClient instance

TCPClient(IPEndPoint)

Creates a new TCPClient instance

Fields

DefaultBufferSize

The default size of the buffers

(Inherited from Client)
DefaultConnectionTimeout

Default connection timeout time

DefaultReceiveTimeout

Default receive timeout time

DefaultSendTimeout

Default send timeout time

Properties

HasDisposed

Has this object been disposed

(Inherited from Client)
IsConnected

Is the Client connected

(Inherited from Client)
TypeReaderWriterManager

The TypeReaderWriterManager for Client

(Inherited from Client)

Methods

AddService(Type)

Tells the Client what interfaces you might be using

(Inherited from Client)
AddService<T>()

Tells the Client what interfaces you might be using

(Inherited from Client)
CheckDispose()

Checks the disposal state on this object

(Inherited from Client)
Connect()

Connects the Client to a host

Dispose()

Destroys the Client instance

Initialize(BufferedReader, BufferedWriter)

Initialize streams

(Inherited from Client)
Initialize(Stream, Stream)

Initialize streams

(Inherited from Client)
InvokeMethod(String, Object[])

Invokes a method on the server

(Inherited from Client)
SetProtocolVersion(Object)

Sets what protocol version to use.

Set value to null to reset back to none.

(Inherited from Client)