OpenDOF Project
boolean DOFServer_AddStateListener ( DOFServer  self,
DOFServerStateListener  listener 
)

Adds a listener to DOFServer that notify user of state change of a server.

Note
a listener will only be added to a server one time. Duplicate listener will fail to be added.
Parameters
selfthe server to add the listener to. This must not be NULL.
listenerthe users listener to call with state change. This should not be NULL.
Returns
TRUE if Listener was added, FALSE otherwise.
See Also
DOFServer_RemoveStateListener
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22