The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
SSHResultPoller Class Reference

This class will poll for result files (files with doubles) through ssh on a remote machine. More...

Inheritance diagram for SSHResultPoller:
Inheritance graph
[legend]

Public Member Functions

 SSHResultPoller (SSHWrapper ssh, String directory, String mask)
 
boolean isPolling ()
 
void stopPolling ()
 
void run ()
 
void addListener (JobFinishedEventListener list)
 
void removeListener (JobFinishedEventListener list)
 
void setInterval (int sec)
 
int getInterval ()
 
String getMask ()
 
void setMask (String mask)
 Poll for files whose name match this mask. More...
 
String getLocation ()
 

Protected Member Functions

void sendEvent (JobEvent event)
 

Detailed Description

This class will poll for result files (files with doubles) through ssh on a remote machine.

Once read the files will be removed.

Constructor & Destructor Documentation

SSHResultPoller ( SSHWrapper  ssh,
String  directory,
String  mask 
)
inline

Member Function Documentation

void addListener ( JobFinishedEventListener  list)
inlineinherited
int getInterval ( )
inlineinherited
String getLocation ( )
inlineinherited
String getMask ( )
inlineinherited
boolean isPolling ( )
inline
void removeListener ( JobFinishedEventListener  list)
inlineinherited
void run ( )
inline
void sendEvent ( JobEvent  event)
inlineprotectedinherited
void setInterval ( int  sec)
inlineinherited
void setMask ( String  mask)
inlineinherited

Poll for files whose name match this mask.

Parameters
mask
void stopPolling ( )
inline

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