Class FinCommServiceTcp
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
CommAddressSuffix
Communication address suffix is always returned as null.
public string CommAddressSuffix { get; }
Property Value
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
State
Returns the current state of this transport instance.
public FinCommServiceState State { get; }
Property Value
Methods
Connect(string, string, IFinFilter)
Establishes a TCP connection.
public void Connect(string sCommAddress, string sCommAddressSuffix, IFinFilter aFilter)
Parameters
sCommAddressstringThe 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.
sCommAddressSuffixstringThis parameter is not supported by the TCP transport. Therefore this parameter must be
null.aFilterIFinFilter
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
aDialogFinDialogaReqBufFinMessageBuffer