Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

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

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


Member Data Documentation

Pattern alma::acs::commandcenter::engine::NativeCommand::Reader::expectedOutput [protected]
 

Thread alma::acs::commandcenter::engine::NativeCommand::Reader::interruptableThread [protected]
 

InputStream alma::acs::commandcenter::engine::NativeCommand::Reader::sourceStream [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:51:31 2009 for ACS Java API by doxygen 1.3.8