Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Shadow Class Reference

This class provides the core management for interactive jobs. More...

List of all members.

Public Methods

void attach (int port=0)
 Attach a new listener to the Job.

std::string empty (std::string buffer)
 Read the specified buffer and return it's content.

void detach ()
 Stop the launched processes and remove the created listener pipes.

void start ()
 Start the Listener run method. More...

std::string getPipeErr ()
std::string getPipeIn ()
std::string getPipeOut ()
int getPort ()
 Get the port where the shadow is listening to.

int getPid ()
 Get the process id of the launched listener process.


Static Public Methods

std::string getHost ()

Friends

class Job


Detailed Description

This class provides the core management for interactive jobs.

once the edg-grid-console-shadow has started successfully and the job is running the user should interact with the submitted job (or might have attached to a previous job) At the end of the interaction the background bypass process should be killed and the I/O pipes have to be removed. This is done automatically by the 'detach' method. The shadow class must be used togheter with an implementation of the Listener interface, which actually performs the final visual interactivity with the user.

See also:
Listener


Member Function Documentation

std::string getHost   [static]
 

Returns:
the local host name

std::string getPipeErr  
 

Returns:
the error pipe string representation

std::string getPipeIn  
 

Returns:
the Input pipe string representation

std::string getPipeOut  
 

Returns:
the Output pipe string representation

void start  
 

Start the Listener run method.

See also:
Listener


The documentation for this class was generated from the following file:
Generated on Fri May 14 14:19:39 2004 for USERINTERFACE C++ API by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002