OpenDOF Project
void(* DOFConnectionPeerListener::DOFConnectionPeerListenerFns_t::PeerAdded)(DOFConnectionPeerListener self, DOFConnection connection, DOFAddress address, DOFSecurityScope scope)

Callback for when a peer has joined the session represented by the Connection (for example, a node joined the secure group or hub).

This callback will be called periodically when a peer is known to have joined the session. Only updates after the listener was added will be reported.

This callback may be NULL to ignore notification of added peers.

Parameters
selfThe listener object. This will never be NULL.
connectionThe connection for which the peer addition is being reported. This will never be NULL.
addressThe address of the peer that joined. This will never be NULL.
scopeThe security scope of the peer that joined. This may be the same as the connection, or some subset of it. This will never be NULL.
core-c-dof-oal Version 7.1.7 Build 0
2017-10-31