Rfc1006Client Class
Defines an implementation of the Rfc1006Base class to provide a generic interface to communicate via RFC1006 from a client perspective with any RFC1006 server.
Inheritance Hierarchy
System.Object
Rfc1006LibNet.Advanced.Rfc1006Base
Rfc1006LibNet.Advanced.Rfc1006Client
Namespace:
Rfc1006LibNet.Advanced
Assembly:
Rfc1006LibNet.Advanced (in Rfc1006LibNet.Advanced.dll) Version: 1.0.2.0 (1.0.5.3)
Syntax
Constructors
—– | Name | Description |
---|---|---|
Rfc1006Client(Rfc1006IPEndPoint) | Initializes a new instance of the Rfc1006Client class using the specified endPoint information. |
|
Rfc1006Client(Int32, Rfc1006IPEndPoint) | Initializes a new instance of the Rfc1006Client class using the specified endPoint and connectionTimeout information. |
|
Rfc1006Client(Rfc1006IPEndPoint, Int32) | Initializes a new instance of the Rfc1006Client class using the specified endPoint and aliveTime information. |
|
Rfc1006Client(Int32, Rfc1006IPEndPoint, Int32) | Initializes a new instance of the Rfc1006Client class using the specified endPoint, connectionTimeout and aliveTime information. |
|
Rfc1006Client(IPAddress, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(IPAddress, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(String, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(String, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(Int32, IPAddress, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(Int32, IPAddress, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(Int32, String, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(IPAddress, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(IPAddress, Int32, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(IPAddress, Int32, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(IPAddress, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(String, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(String, Int32, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, port, remoteTSAP and localTSAP information and DefaultConnectionTimeout. |
|
Rfc1006Client(String, Int32, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP and localTSAP information. |
|
Rfc1006Client(String, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, IPAddress, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, IPAddress, Int32, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(Int32, IPAddress, Int32, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(Int32, IPAddress, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, String, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, String, Int32, Byte[], Byte[]) | Initializes a new instance of the Rfc1006Client class using the specified address, port, remoteTSAP, localTSAP and connectionTimeout information and DefaultAliveTime. |
|
Rfc1006Client(Int32, String, Int32, String, String) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and connectionTimeout information. |
|
Rfc1006Client(Int32, String, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(IPAddress, Int32, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(IPAddress, Int32, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(String, Int32, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, port, remoteTSAP, localTSAP and aliveTime information and DefaultAliveTime. |
|
Rfc1006Client(String, Int32, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, IPAddress, Int32, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, IPAddress, Int32, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
|
Rfc1006Client(Int32, String, Int32, Byte[], Byte[], Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, port, remoteTSAP, connectionTimeout, localTSAP and aliveTime information and DefaultAliveTime. |
|
Rfc1006Client(Int32, String, Int32, String, String, Int32) | Initializes a new instance of the Rfc1006Client class using the specified address, remoteTSAP, connectionTimeout, localTSAP and aliveTime information. |
Methods
—– | Name | Description |
---|---|---|
CloseSocket | CLoses the Socket (Inherited from Rfc1006Base.) |
|
Connect() | Connects the client to the server using the specified AliveTime and ConnectionTimeout information. (Overrides Rfc1006Base.Connect().) |
|
Connect(Int32) | Connects the client to the server using the specified AliveTime and ConnectionTimeout information or the timeout exceeded. (Overrides Rfc1006Base.Connect(Int32).) |
|
Dispose() | Releases all resources used by the Rfc1006Base class. (Inherited from Rfc1006Base.) |
|
Dispose(Boolean) | Releases the unmanaged resource used by the Rfc1006Client class and optionally releases the managed resource. (Overrides Rfc1006Base.Dispose(Boolean).) |
|
Finalize | Finalizes an instance of the Rfc1006Base class class. (Inherited from Rfc1006Base.) |
|
OnConnected | Raises the Connected event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnConnecting | Raises the Connecting event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnDisconnected | Raises the Disconnected event using the specified event data. |
|
OnDisconnecting | Raises the Disconnecting event using the specified event data. |
|
OnReceived | Raises the Received event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnReceiving | Raises the Receiving event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnTimeout | Raises the Timeout event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnTransmitted | Raises the Transmitted event using the specified event data. (Inherited from Rfc1006Base.) |
|
OnTransmitting | Raises the Transmitting event using the specified event data. (Inherited from Rfc1006Base.) |
|
Receive | Reads a byte from the RFC1006 communication send by the opposite service. (Inherited from Rfc1006Base.) |
|
ReceiveString | Reads a Rfc1006Packet from the RFC1006 communication send by the opposite service. (Inherited from Rfc1006Base.) |
|
SetKeepAlive | Sets the keep alive time using the specified aliveTime and information. (Inherited from Rfc1006Base.) |
|
SetStatus(Rfc1006Status, Rfc1006Base) | Sets the status of the connection using the specified value, sender information. (Inherited from Rfc1006Base.) |
|
SetStatus(Rfc1006Status, Rfc1006Base, Exception) | Sets the status of the connection using the specified value, sender and exception information. (Inherited from Rfc1006Base.) |
|
Start | Starts the connecting of the client to the server. (Overrides Rfc1006Base.Start().) |
|
Stop | Disconnects the client from the server. (Overrides Rfc1006Base.Stop().) |
|
ToString | Returns a string that represents the current object. (Inherited from Rfc1006Base.) |
|
Transmit(Byte[]) | Writes the length of buffer Bytes to the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
Transmit(String) | Writes the length of buffer Bytes to the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
Transmit(Byte[], Int32) | Writes length Bytes to the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
Transmit(Byte[], Int32, Int32) | Writes length Bytes to the RFC1006 communication. (Inherited from Rfc1006Base.) |
Fields
—– | Name | Description |
---|---|---|
DefaultConnectionTimeout | Stores the default connection timeout in milliseconds (5s). |
|
DefaultReconnectionInterval | Stores the default reconnection interval in milliseconds (1s). |
Properties
—– | Name | Description |
---|---|---|
AliveTime | Gets or sets the time in milliseconds when the server will disconnect if the client is not responding (Inherited from Rfc1006Base.) |
|
AutoReceive | Gets or sets a value indicating whether the receiving thread is turned on or off. (Inherited from Rfc1006Base.) |
|
AutoReconnect | Gets or sets a value indicating whether the automatic reconnection is enabled or not. |
|
ConnectionTimeout | Gets or sets the timeout of the connection in milliseconds. |
|
EndPoint | Gets or sets a network endpoint as an IP address, port number, remote TSAP and a local TSAP. (Inherited from Rfc1006Base.) |
|
FastAcknowlege | FastAcknowlege If partner is sending small packages in short intervals. This makes the TCP-traffic faster V 1.0.3.0 (Inherited from Rfc1006Base.) |
|
LocalId | Gets or sets the local ID of the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
ReceiveTimeout | Gets or sets the time in milliseconds when the service will cancel the receive. (Inherited from Rfc1006Base.) |
|
ReconnectionInterval | Gets or sets the reconnection interval in milliseconds. |
|
RemoteId | Gets or sets the remote ID of the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
Socket | Gets or sets the socket of the RFC1006 communication. (Inherited from Rfc1006Base.) |
|
Status | Gets the status of the connection. (Inherited from Rfc1006Base.) |
|
TransmitTimeout | Gets or sets the time in milliseconds when the service will cancel the transmit. (Inherited from Rfc1006Base.) |
Events
—– | Name | Description |
---|---|---|
Connected | Occurs before the connection. (Inherited from Rfc1006Base.) |
|
Connecting | Occurs after the connection. (Inherited from Rfc1006Base.) |
|
Disconnected | Occurs before the disconnection |
|
Disconnecting | Occurs after the disconnection |
|
Received | Occurs after a receive. (Inherited from Rfc1006Base.) |
|
Receiving | Occurs before a receive. (Inherited from Rfc1006Base.) |
|
StatusChanged | Occurs if something gone wrong during a transfer. (Inherited from Rfc1006Base.) |
|
Timeout | Occurs when a timeout is appeared. (Inherited from Rfc1006Base.) |
|
Transmitted | Occurs after a transmit. (Inherited from Rfc1006Base.) |
|
Transmitting | Occurs before a transmit. (Inherited from Rfc1006Base.) |