20 #ifndef RTC_INPORTPUSHCONNECTOR_H 21 #define RTC_INPORTPUSHCONNECTOR_H 298 #endif // RTC_PUSH_CONNECTOR_H ConnectorListeners class.
ConnectorListeners & m_listeners
A reference to a ConnectorListener.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
void onConnect()
Invoke callback when connection is established.
Enum
DataPortStatus return codes.
virtual ReturnCode read(cdrMemoryStream &data)
Reading data.
virtual CdrBufferBase * createBuffer(ConnectorInfo &info)
create buffer
DATAPORTSTATUS_ENUM InPortPushConnector(ConnectorInfo info, InPortProvider *provider, ConnectorListeners &listeners, CdrBufferBase *buffer=0)
Constructor.
InPortProvider * m_provider
the pointer to the InPortConsumer
virtual ReturnCode disconnect()
disconnect
InPortConnector base class.
virtual void activate()
Connector activation.
virtual ~InPortPushConnector()
Destructor.
virtual void deactivate()
Connector deactivation.
BufferBase abstract class.
void onDisconnect()
Invoke callback when connection is destroied.