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

This class forms a baseclass for all distributed resources that must be contacted through a remote submit node (or front node) reachable through SSH. More...

Inheritance diagram for RemoteDistributedBackend:
Inheritance graph
[legend]

Public Member Functions

 RemoteDistributedBackend ()
 
void configure (ContextConfig context, NodeConfig config) throws ConfigureException
 
JobPoller getPoller ()
 
void setResultProcessor (ResultProcessor rp)
 
String getUser ()
 
String getFrontNode ()
 
int getFrontNodePort ()
 
String getIdentityFile ()
 
String getKnownHostsFile ()
 
void cleanup ()
 
abstract void submitJob (Job job) throws Exception
 
String getLocalDirectory ()
 
String getRemoteDirectory ()
 
abstract DataSourceStatus getStatus ()
 Get status information related to this backend and the resources it manages. More...
 

Protected Member Functions

void connectToFrontNode () throws IOException
 
SSHWrapper getSSHWrapper ()
 
void setPoller (JobPoller poller)
 
Job getJob (String id)
 
void addJob (String id, Job j)
 
void removeJob (String id)
 
ResultProcessor getResultProcessor ()
 
void setLocalDirectory (String localDirectory)
 
void setRemoteDirectory (String dir)
 

Detailed Description

This class forms a baseclass for all distributed resources that must be contacted through a remote submit node (or front node) reachable through SSH.

Constructor & Destructor Documentation

Member Function Documentation

void addJob ( String  id,
Job  j 
)
inlineprotectedinherited
void cleanup ( )
inline
void configure ( ContextConfig  context,
NodeConfig  config 
) throws ConfigureException
inline
void connectToFrontNode ( ) throws IOException
inlineprotected
String getFrontNode ( )
inline
int getFrontNodePort ( )
inline
String getIdentityFile ( )
inline
Job getJob ( String  id)
inlineprotectedinherited
String getKnownHostsFile ( )
inline
String getLocalDirectory ( )
inlineinherited
JobPoller getPoller ( )
inline
String getRemoteDirectory ( )
inlineinherited
ResultProcessor getResultProcessor ( )
inlineprotectedinherited
SSHWrapper getSSHWrapper ( )
inlineprotected
abstract DataSourceStatus getStatus ( )
abstractinherited

Get status information related to this backend and the resources it manages.

String getUser ( )
inline
void removeJob ( String  id)
inlineprotectedinherited
void setLocalDirectory ( String  localDirectory)
inlineprotectedinherited
void setPoller ( JobPoller  poller)
inlineprotected
void setRemoteDirectory ( String  dir)
inlineprotectedinherited
void setResultProcessor ( ResultProcessor  rp)
inline
abstract void submitJob ( Job  job) throws Exception
abstract

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