DOFConnectionPeerListener InterfaceOpenDOF Object Access Library
Implement this interface to monitor the addition/removal of peers (within a secure group) at runtime.

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

C#
public interface PeerListener

The DOFConnectionPeerListener type exposes the following members.

Methods

  NameDescription
Public methodpeerAdded
This is called when a Type.POINT or Type.GROUP member joins the secure group.
Public methodpeerRemoved
This is called when a Type.POINT leaves the secure group. Type.GROUP managers cannot detect this, so in that case, this method will never be called.
Public methodremoved
This is called when this listener is removed from the DOFConnection.
Top
Remarks

Implement this interface to monitor the addition/removal of peers (within a secure group) at runtime. This allows the application to be notified of a peer joining or leaving the session in a Type.HUB / Type.POINT network. Only peer joining is supported for Type.GROUP networks.
See Also

Reference