20 #ifndef RTC_OUTPORTPUSHCONNECTOR_H 21 #define RTC_OUTPORTPUSHCONNECTOR_H 29 class ConnectorListeners;
359 #endif // RTC_PUSH_CONNECTOR_H virtual ReturnCode write(const cdrMemoryStream &data)
Writing data.
void onDisconnect()
Invoke callback when connection is destroied.
ConnectorListeners class.
InPortConsumer abstract class.
virtual void activate()
Connector activation.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
void onConnect()
Invoke callback when connection is established.
virtual CdrBufferBase * getBuffer()
Getting Buffer.
virtual void deactivate()
Connector deactivation.
virtual CdrBufferBase * createBuffer(ConnectorInfo &info)
create buffer
virtual ReturnCode disconnect()
disconnect
ConnectorListeners & m_listeners
A reference to a ConnectorListener.
Enum
DataPortStatus return codes.
CdrBufferBase * m_buffer
A pointer to a buffer.
InPortConsumer * m_consumer
A pointer to an InPortConsumer.
PublisherBase * m_publisher
A pointer to a publisher.
virtual PublisherBase * createPublisher(ConnectorInfo &info)
create buffer
DATAPORTSTATUS_ENUM OutPortPushConnector(ConnectorInfo info, InPortConsumer *consumer, ConnectorListeners &listeners, CdrBufferBase *buffer=0)
Constructor.
virtual ~OutPortPushConnector()
Destructor.
BufferBase abstract class.