DebugServer2
Loading...
Searching...
No Matches
ds2::GDBRemote::SessionBase Class Reference
Inheritance diagram for ds2::GDBRemote::SessionBase:
Collaboration diagram for ds2::GDBRemote::SessionBase:

Public Member Functions

 SessionBase (CompatibilityMode mode)
 
CompatibilityMode mode () const
 
void setDelegate (SessionDelegate *delegate)
 
SessionDelegatedelegate () const
 
bool create (Host::Channel *channel)
 
bool receive (bool cooked)
 
bool parse (std::string const &data)
 
bool send (char const *data, bool escaped=false)
 
template<typename T >
bool send (T const &data, bool escaped=false)
 
bool getAckMode ()
 
ProtocolInterpreterinterpreter () const
 

Protected Member Functions

const char * getPacketSeparator ()
 
bool sendACK ()
 
bool sendNAK ()
 
bool sendOK ()
 
bool sendError (ErrorCode code)
 
void setAckMode (bool enabled)
 
virtual bool onACK ()
 
virtual bool onNAK ()
 
virtual bool onCommandReceived (bool valid)
 
virtual void onInvalidData (std::string const &data)
 

Protected Attributes

SessionDelegate_delegate
 
bool _ackmode
 
CompatibilityMode _compatMode
 

Friends

class ProtocolInterpreter
 

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