20 #ifndef RTC_OUTPORTPULLCONNECTOR_H 21 #define RTC_OUTPORTPULLCONNECTOR_H 30 class OutPortConsumer;
31 class ConnectorListeners;
296 #endif // RTC_PULL_CONNECTOR_H ConnectorListeners class.
virtual void deactivate()
Connector deactivation.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
virtual void activate()
Connector activation.
ConnectorListeners & m_listeners
A reference to a ConnectorListener.
void onConnect()
Invoke callback when connection is established.
Enum
DataPortStatus return codes.
CdrBufferBase * createBuffer(ConnectorInfo &info)
create buffer
virtual ReturnCode read(cdrMemoryStream &data)
Destructor.
InPortConnector base class.
void onDisconnect()
Invoke callback when connection is destroied.
OutPortConsumer * m_consumer
the pointer to the OutPortConsumer
OutPortConsumer abstract class.
virtual ~InPortPullConnector()
Destructor.
BufferBase abstract class.
DATAPORTSTATUS_ENUM InPortPullConnector(ConnectorInfo info, OutPortConsumer *consumer, ConnectorListeners &listeners, CdrBufferBase *buffer=0)
Constructor.
virtual ReturnCode disconnect()
Disconnect connection.