alma::acs::commandcenter::engine::NativeCommand::Reader Class Reference

Collaboration diagram for alma::acs::commandcenter::engine::NativeCommand::Reader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void interruptThreadOnExpectedOutput (Thread thread, String expectedRegex)
void run ()

Protected Member Functions

 Reader (InputStream sourceStream)

Protected Attributes

Thread interruptableThread
Pattern expectedOutput
InputStream sourceStream

Detailed Description

Reads a process's streams. Can notify a suspended thread if a specified piece of output (as regex) occurs.


Constructor & Destructor Documentation

alma::acs::commandcenter::engine::NativeCommand::Reader::Reader ( InputStream  sourceStream  )  [inline, protected]

Member Function Documentation

void alma::acs::commandcenter::engine::NativeCommand::Reader::interruptThreadOnExpectedOutput ( Thread  thread,
String  expectedRegex 
) [inline]
Parameters:
thread this parameter is actually redundant but makes things clearer

References expectedOutput, and interruptableThread.

Referenced by alma::acs::commandcenter::engine::NativeCommand::run().

void alma::acs::commandcenter::engine::NativeCommand::Reader::run (  )  [inline]

Member Data Documentation

Referenced by run().


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

Generated by  doxygen 1.6.2