Class FinCommServiceTcp
Implements the FinTS Subsembly IFinCommService for raw TCP connections such as required for RDH and RAH security.
Inheritance
Implements
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinCommServiceTcp : IFinCommService
Constructors
FinCommServiceTcp()
Default constructor.
Declaration
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).
Declaration
public string CommAddress { get; }
Property Value
Type | Description |
---|---|
System.String |
CommAddressSuffix
Communication address suffix is always returned as null
.
Declaration
public string CommAddressSuffix { get; }
Property Value
Type | Description |
---|---|
System.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).
Declaration
public static FinSocks5Proxy Proxy { get; set; }
Property Value
Type | Description |
---|---|
FinSocks5Proxy |
State
Returns the current state of this transport instance.
Declaration
public FinCommServiceState State { get; }
Property Value
Type | Description |
---|---|
FinCommServiceState |
Methods
Connect(String, String, IFinFilter)
Establishes a TCP connection.
Declaration
public void Connect(string sCommAddress, string sCommAddressSuffix, IFinFilter aFilter)
Parameters
Type | Name | Description |
---|---|---|
System.String | sCommAddress | 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. |
System.String | sCommAddressSuffix | This parameter is not supported by the TCP transport. Therefore this parameter
must be |
IFinFilter | aFilter |
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.
Declaration
public void Disconnect()
SendReceive(FinDialog, FinMessageBuffer)
Declaration
public FinMessageBuffer SendReceive(FinDialog aDialog, FinMessageBuffer aReqBuf)
Parameters
Type | Name | Description |
---|---|---|
FinDialog | aDialog | |
FinMessageBuffer | aReqBuf |
Returns
Type | Description |
---|---|
FinMessageBuffer |