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

Public Member Functions

 HandleChannel (int fd)
 
 HandleChannel (const HandleChannel &)=delete
 
 HandleChannel (HandleChannel &&other)
 
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
 
- Public Member Functions inherited from ds2::Host::Channel
virtual bool send (std::string const &buffer)
 
virtual bool receive (std::string &buffer)
 

Member Function Documentation

◆ close()

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

Implements ds2::Host::Channel.

◆ connected()

bool ds2::Host::HandleChannel::connected ( ) const
inlineoverridevirtual

Implements ds2::Host::Channel.

◆ receive()

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

Implements ds2::Host::Channel.

◆ send()

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

Implements ds2::Host::Channel.

◆ wait()

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

Implements ds2::Host::Channel.


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