Class FinCommServiceTcp

Namespace
Subsembly.FinTS
Assembly
Subsembly.FinTS.Core.dll

Implements the FinTS Subsembly IFinCommService for raw TCP connections such as required for RDH and RAH security.

public class FinCommServiceTcp : IFinCommService
Inheritance
FinCommServiceTcp
Implements
Inherited Members

Constructors

FinCommServiceTcp()

Default constructor.

public FinCommServiceTcp()

Remarks

All IFinCommService implementations must have an argumentless default constructor, so do we.

Properties

CommAddress

Communication address as it was given to Connect(string, string, IFinFilter).

public string CommAddress { get; }

Property Value

string

CommAddressSuffix

Communication address suffix is always returned as null.

public string CommAddressSuffix { get; }

Property Value

string

Proxy

Configuration of a SOCKS5 proxy which is used by all FinCommServiceTcp instances. null means that there's not SOCKS5 proxy at all (which is the default).

public static FinSocks5Proxy Proxy { get; set; }

Property Value

FinSocks5Proxy

State

Returns the current state of this transport instance.

public FinCommServiceState State { get; }

Property Value

FinCommServiceState

Methods

Connect(string, string, IFinFilter)

Establishes a TCP connection.

public void Connect(string sCommAddress, string sCommAddressSuffix, IFinFilter aFilter)

Parameters

sCommAddress string

The TCP/IP address to connect to. This can be either a DNS hostname or an IP address in dotted decimal notation. One must not use any protocol prefix on the given address.

sCommAddressSuffix string

This parameter is not supported by the TCP transport. Therefore this parameter must be null.

aFilter IFinFilter

Remarks

As a special feature the TCP port number may be appended to the given communication address after a colon, e.g. "hbci.bank.de:3001" will connect to the TCP port 3001. If no port number is appended, then the port number 3000 is used as the default value.

Disconnect()

Disconnect.

public void Disconnect()

SendReceive(FinDialog, FinMessageBuffer)

public FinMessageBuffer SendReceive(FinDialog aDialog, FinMessageBuffer aReqBuf)

Parameters

aDialog FinDialog
aReqBuf FinMessageBuffer

Returns

FinMessageBuffer