DOFConnectionaddPeerListener Method OpenDOF Object Access Library
Add a peer listener to this connection.

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

C#
public void addPeerListener(
	DOFConnectionPeerListener peerListener
)

Parameters

peerListener
Type: org.opendof.core.oalDOFConnectionPeerListener
The listener that should be called with peer discovery. This must not be null.
Exceptions

ExceptionCondition
ArgumentException If this connection type is not Type.HUB or Type.GROUP .
Remarks

Add a peer listener to this connection. The peerListener will be notified whenever a Type.POINT or Type.GROUP member joins the secure group.
See Also

Reference