DOFConnectionStateListener InterfaceOpenDOF Object Access Library
StateListener is used to receive notifications about a particular connection's state, such as when a connection is established or terminated.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public interface StateListener

The DOFConnectionStateListener type exposes the following members.

Methods

  NameDescription
Public methodremoved
This method will be called when the listener is removed from the connection.
Public methodstateChanged
This method will be called immediately when the listener is added to the connection with the current state of the connection (either "connected" or "!connected") and then will be called whenever the state changes.
Top
Remarks

StateListener is used to receive notifications about a particular connection's state, such as when a connection is established or terminated.
See Also

Reference

Runtime.addConnectionListener(ConnectionStateListener)