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

Distributed backends need their own poller to check for job status information. More...

Inheritance diagram for JobPoller:
Inheritance graph
[legend]

Public Member Functions

 JobPoller (String location)
 Create a new poller. More...
 
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 ()
 
abstract void stopPolling ()
 
abstract boolean isPolling ()
 

Protected Member Functions

void sendEvent (JobEvent event)
 

Detailed Description

Distributed backends need their own poller to check for job status information.

Such pollers should subclass this class

Constructor & Destructor Documentation

JobPoller ( String  location)
inline

Create a new poller.

Parameters
directorythe location to monitor for result files

Member Function Documentation

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

Poll for files whose name match this mask.

Parameters
mask
abstract void stopPolling ( )
abstract

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