DebugServer2
Loading...
Searching...
No Matches
ds2::Host::QueueChannel Class Reference
Inheritance diagram for ds2::Host::QueueChannel:
Collaboration diagram for ds2::Host::QueueChannel:

Public Member Functions

 QueueChannel (Channel *remote)
 
Channelremote () const
 
MessageQueuequeue () const
 
void close () override
 
bool connected () const override
 
bool wait (int ms=-1) override
 
ssize_t send (void const *buffer, size_t length) override
 
ssize_t receive (void *buffer, size_t length) override
 
bool receive (std::string &buffer) override
 
- Public Member Functions inherited from ds2::Host::Channel
virtual bool send (std::string const &buffer)
 

Public Attributes

Channel_remote
 
MessageQueue _queue
 

Member Function Documentation

◆ close()

void ds2::Host::QueueChannel::close ( )
overridevirtual

Implements ds2::Host::Channel.

◆ connected()

bool ds2::Host::QueueChannel::connected ( ) const
overridevirtual

Implements ds2::Host::Channel.

◆ receive() [1/2]

bool ds2::Host::QueueChannel::receive ( std::string & buffer)
overridevirtual

Reimplemented from ds2::Host::Channel.

◆ receive() [2/2]

ssize_t ds2::Host::QueueChannel::receive ( void * buffer,
size_t length )
overridevirtual

Implements ds2::Host::Channel.

◆ send()

ssize_t ds2::Host::QueueChannel::send ( void const * buffer,
size_t length )
overridevirtual

Implements ds2::Host::Channel.

◆ wait()

bool ds2::Host::QueueChannel::wait ( int ms = -1)
overridevirtual

Implements ds2::Host::Channel.


The documentation for this class was generated from the following files: