tibasMetaspace_ListenSpaceState()

Attaches a listener to a metaspace for receiving space state events.

Declaration

tibas_status tibasMetaspace_ListenSpaceState
(tibasMetaspace   metaspace,
const char*       spaceName,
tibasListener     listener)

Parameters

Parameter Description
metaspace The TIBCO ActiveSpaces entity on which the function is invoked.
spaceName The name of the space on which to attach the listener.
listener The listener.

Remarks

Use the tibasMetaspace_ListenSpaceState() function to attach a listener to a specified metaspace to listen for space state events. You do not have to be joined to the space to call the function.

Before you can attach a listener to a space, there must be a listener object created by a call to the tibasListener_Create() function.

Specify this object with the listener parameter.