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 |
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.