Class EbicsTransport
A HttpClient based, blocking HTTP transport implementation. Shall only be used when running on a background thread.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.EBICS
Assembly: Subsembly.EBICS.Core.dll
Syntax
public class EbicsTransport : IEbicsTransport
Fields
DEFAULT_TIMEOUT
The default communication timeout in milliseconds is five minutes.
Declaration
public const int DEFAULT_TIMEOUT = 300000
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
Timeout
HTTP communication timeout in milliseconds.
Declaration
public int Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
The timeout is the maximum time granted for the total HTTP send/response transaction. If the value 0 is set, then the DEFAULT_TIMEOUT will be established.
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | An attempt was made to set a negative value. |
Methods
OnWait()
Method that is periodically invoked while waiting for the HTTP request.
Declaration
protected virtual void OnWait()
Remarks
The default implementation of this method just calls Thread.Sleep(0). A derived class my override this method in order to perform some message pumping.
SendRequest(EbicsTrace, XmlDocument, String)
Declaration
public XmlDocument SendRequest(EbicsTrace aTrace, XmlDocument xmlRequest, string sUrl)
Parameters
Type | Name | Description |
---|---|---|
EbicsTrace | aTrace | |
System.Xml.XmlDocument | xmlRequest | |
System.String | sUrl |
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |