CHAI SDK
Version 1.3
|
Notification handler for Pipe. More...
Public Member Functions | |
virtual void | OnPipe_PeerChange (CPNS::IPipe *const pNotifiedObject, CPNS::Endpoint const &peer, CPNS::boolean const fNewPeer) |
Source change notification Called if a new source is connected, or if a source is silent (the pipe does not receive message or internal system message for 2 seconds). More... | |
virtual void | OnPipe_DataConsumed (CPNS::IPipe *const pNotifiedObject) |
This is called on reception of DataConsumed from the target side. More... | |
virtual void | OnPipe_Message (CPNS::IPipe *const pNotifiedObject, CPNS::IBaseMessage *const pMsg)=0 |
Called on application message arriving. More... | |
Notification handler for Pipe.
|
inlinevirtual |
This is called on reception of DataConsumed from the target side.
[in] | pNotifiedObject | Pointer to the notified output object |
|
pure virtual |
Called on application message arriving.
On message reception, the application must check the message object type using IObject::GetObjectType, then call the right dedicated IBaseMessage's method (such as IBaseMessage::GetIEventMessage) to get the correct interface pointer giving access to the message content.
[in] | pNotifiedObject | Pointer to the input object receiving the message |
[in] | pMsg | Pointer to base interface of the message. |
|
inlinevirtual |
Source change notification Called if a new source is connected, or if a source is silent (the pipe does not receive message or internal system message for 2 seconds).
[in] | pNotifiedObject | Pointer to the pipe object receiving the message |
[in] | peer | The lost source |
[in] | fNewPeer | TRUE if this notifies a new peer, FALSE for a lost peer |