20 #ifndef RTC_OUTPORTPULLCONNECTOR_H 21 #define RTC_OUTPORTPULLCONNECTOR_H 289 #endif // RTC_PULL_CONNECTOR_H ConnectorListeners class.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
ConnectorListeners & m_listeners
A reference to a ConnectorListener.
CdrBufferBase * m_buffer
the pointer to the buffer
CdrBufferBase * createBuffer(ConnectorInfo &info)
create buffer
virtual ReturnCode disconnect()
disconnect
Enum
DataPortStatus return codes.
virtual ~OutPortPullConnector()
Destructor.
virtual void deactivate()
Connector deactivation.
OutPortProvider * m_provider
the pointer to the OutPortProvider
virtual CdrBufferBase * getBuffer()
Getting Buffer.
DATAPORTSTATUS_ENUM OutPortPullConnector(ConnectorInfo info, OutPortProvider *provider, ConnectorListeners &listeners, CdrBufferBase *buffer=0)
Constructor.
void onDisconnect()
Invoke callback when connection is destroied.
BufferBase abstract class.
virtual ReturnCode write(const cdrMemoryStream &data)
Writing data.
void onConnect()
Invoke callback when connection is established.
virtual void activate()
Connector activation.