The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CRTPPacketStream Class Reference

Inheritance diagram for CRTPPacketStream:
Collaboration diagram for CRTPPacketStream:

List of all members.

Public Types

 User data that can be passed to Timer via the OnTimer() call when the timeout expires.

Public Member Functions

 CRTPPacketStream (IManagePacketStreamLifetime &lifetimeManager, DWORD framesToCache, JetByteTools::Core::IQueueTimers &timerQueue, ITransmitRTPPackets &transmitter)
 ~CRTPPacketStream ()
void ConnectDataProvider (IProvideRTPData &dataProvider)
bool IsStarted () const override
void StartStream () override
void PauseStream () override
void ResumeStream () override
void SetFrameRate (double frameRate) override
void SendPacket (bool lastInFrame, JetByteTools::IO::CSmartBuffer &packet) override
void OnStreamComplete () override
void Abort () override
void OnTimer (UserData userData) override
virtual void OnTimerEx (Handle handle, UserData userData)
 Called after the timer expires.
virtual void OnTimer (UserData userData)=0

Member Typedef Documentation

typedef IQueueTimers::UserData UserData [inherited]

User data that can be passed to Timer via the OnTimer() call when the timeout expires.

Reimplemented in CReadTimeoutDatagramSocketConnectionFilter, and CReadTimeoutStreamSocketConnectionFilter.

typedef IQueueTimers::Handle Handle [inherited]

Constructor & Destructor Documentation

CRTPPacketStream ( IManagePacketStreamLifetime lifetimeManager,
DWORD  framesToCache,
JetByteTools::Core::IQueueTimers timerQueue,
ITransmitRTPPackets transmitter 

~CRTPPacketStream (  ) 

Member Function Documentation

void ConnectDataProvider ( IProvideRTPData dataProvider  ) 

bool IsStarted (  )  const [override, virtual]

Implements IRTPPacketStream.

void StartStream (  )  [override, virtual]

Implements IRTPPacketStream.

void PauseStream (  )  [override, virtual]

Implements IRTPPacketStream.

void ResumeStream (  )  [override, virtual]

Implements IRTPPacketStream.

void SetFrameRate ( double  frameRate  )  [override, virtual]

Implements IRTPPacketStream.

void SendPacket ( bool  lastInFrame,
JetByteTools::IO::CSmartBuffer packet 
) [override, virtual]

Implements IRTPPacketStream.

void OnStreamComplete (  )  [override, virtual]

Implements IRTPPacketStream.

void Abort (  )  [override, virtual]

Implements IRTPPacketStream.

void OnTimer ( UserData  userData  )  [override]

virtual void OnTimerEx ( Handle  handle,
UserData  userData 
) [inline, virtual, inherited]

Called after the timer expires.

virtual void OnTimer ( UserData  userData  )  [pure virtual, inherited]

Generated on Sun Sep 12 19:11:18 2021 for The Server Framework - v7.4 by doxygen 1.5.3