Class EbicsTransport
A HttpClient based, blocking HTTP transport implementation. Shall only be used when running on a background thread.
public class EbicsTransport : IEbicsTransport
- Inheritance
-
EbicsTransport
- Implements
- Derived
- Inherited Members
Fields
DEFAULT_TIMEOUT
The default communication timeout in milliseconds is five minutes.
public const int DEFAULT_TIMEOUT = 300000
Field Value
Properties
Timeout
HTTP communication timeout in milliseconds.
public int Timeout { get; set; }
Property Value
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
- ArgumentOutOfRangeException
An attempt was made to set a negative value.
Methods
OnWait()
Method that is periodically invoked while waiting for the HTTP request.
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)
public XmlDocument SendRequest(EbicsTrace aTrace, XmlDocument xmlRequest, string sUrl)
Parameters
aTrace
EbicsTracexmlRequest
XmlDocumentsUrl
string