Enum FinCommServiceState
Enumerates the possible states of an instance of an IFinCommService implementation.
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public enum FinCommServiceState
Fields
Name | Description |
---|---|
Connected | There is an established connection. No transport error occured on this connection. In this state SendReceive(FinDialog, FinMessageBuffer) may be called in order to send a message, or Disconnect() may be called in order to orderly tear down the connection. |
Disconnected | There is currently no connection. In this state a new connection can be established by calling Connect(String, String, IFinFilter). |
Error | A transport error occured on an established connection. The connection is lost and cannot be used any more. In this state Disconnect() may be called to clear that condition and return to the Disconnected state. Or Connect(String, String, IFinFilter) may be called to immediately re-establish a connection. Calling SendReceive(FinDialog, FinMessageBuffer) in this state will throw an immediate FinCommServiceException. |