ROSE 0.11.145.247
|
Handle data transfers to/from the VxWorks terminal.
Definition at line 41 of file VxworksTerminal.h.
#include <Rose/BinaryAnalysis/VxworksTerminal.h>
Public Types | |
enum class | State { NORMAL , DRAIN , TERMINATE } |
Public Member Functions | |
virtual std::string | handleInput (const std::string &line)=0 |
Called for each line emitted by the VxWorks terminal. | |
virtual std::string | handlePrompt (const std::string &prompt)=0 |
Called each time a prompt is detected from the VxWorks terminal. | |
Public Attributes | |
State | state = State::NORMAL |
Current state of operation. | |
|
strong |
Enumerator | |
---|---|
NORMAL | Normal operational state transferring and handling data. |
DRAIN | Terminate transfer when output to server becomes empty. |
TERMINATE | Terminate transfer at next opportunity. |
Definition at line 43 of file VxworksTerminal.h.
|
pure virtual |
Called for each line emitted by the VxWorks terminal.
Returns output that should be sent to the terminal.
|
pure virtual |
Called each time a prompt is detected from the VxWorks terminal.
If the data transfer times out waiting for a prompt, then this function is called with an empty string.
Returns output that should be sent to the terminal.
State Rose::BinaryAnalysis::VxworksTerminal::DataTransfer::state = State::NORMAL |
Current state of operation.
Definition at line 50 of file VxworksTerminal.h.