TIBCO Adapter SDK C++ Reference
MSubscriber
Class Hierarchy | C++ Classes and Methods | Members | Methods
An MSubscriber subscribes to network data.

Whenever new data is available, the subscriber generates an MDataEvent and calls the onEvent() method of each registered listener. The subscriber generates an MTimeoutEvent if data events has not been received within the time frame specified in the data event source.

Remarks
To associate a listener with a subscriber, call its inherited addListener() method.

Note that the subscriber in nonvalidated mode strips SDK control information from any incoming message, regardless of whether the message is in rvMsg or aeRvMsg format. In the M_RVMSG_FORMAT format the subscriber does not consider the absence of control information in the message to be an error.

Inherited Methods
MSubscriber::addListener() Adds an event listener to this event source.

MSubscriber::removeListener() Removes an event listener from this event source.

Declaration
class MSubscriber : public MEventSource;
Class Hierarchy
MObject
    MComponent
        MEventSource
            MSubscriber
File
MSubscriber.h
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.