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

Classes

struct  Handler
 

Public Member Functions

void setSession (SessionBase *session)
 
SessionBasesession () const
 
void onCommand (std::string const &command, std::string const &arguments)
 
bool registerHandler (Handler const &handler)
 
template<typename CallbackType >
bool registerHandler (Handler::Mode const &mode, std::string const &command, ProtocolHandler *handler, CallbackType const &callback)
 
void onPacketData (std::string const &data, bool valid) override
 
void onInvalidData (std::string const &data) override
 
std::vector< std::string > const & lastCommands () const
 
void clearLastCommands ()
 
- Public Member Functions inherited from ds2::GDBRemote::PacketProcessorDelegate

Member Function Documentation

◆ onInvalidData()

void ds2::GDBRemote::ProtocolInterpreter::onInvalidData ( std::string const & data)
overridevirtual

◆ onPacketData()

void ds2::GDBRemote::ProtocolInterpreter::onPacketData ( std::string const & data,
bool valid )
overridevirtual

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