Node Director
Classes | Public Member Functions | Protected Member Functions | List of all members
sfi.director.invoker.StreamConnection Class Reference

Classes

class  popper
class  pusher

Public Member Functions

 StreamConnection (InputStream in, OutputStream out)
void Server (RemoteJob job) throws DirectorException
void Agent () throws DirectorException

Protected Member Functions

void leanBackAndWait () throws DirectorException
synchronized void imDone ()
String readNextLine () throws IOException
boolean commonListen (String cmd)
void masterlistener (StoppableThread thread)
void waitEvent ()
void send (byte[] buf, int offset, int size) throws IOException
void send_string (String str) throws IOException
void send_final_string (String str)
boolean send_cmd (String cmd) throws IOException
void master (StoppableThread thread)
void agentlistener (StoppableThread thread)
void agent (StoppableThread thread)
InputStream retrieve (String url) throws DirectorException
 This implements the ServerConnection retrieve method.
OutputStream send (String url) throws DirectorException
 This implements the ServerConnection send method.
void log (LogEntry log) throws DirectorException
 This implements the ServerConnection log method.

Constructor & Destructor Documentation

sfi.director.invoker.StreamConnection.StreamConnection ( InputStream  in,
OutputStream  out 
)

Member Function Documentation

void sfi.director.invoker.StreamConnection.Agent ( ) throws DirectorException
void sfi.director.invoker.StreamConnection.agent ( StoppableThread  thread)
protected
void sfi.director.invoker.StreamConnection.agentlistener ( StoppableThread  thread)
protected
boolean sfi.director.invoker.StreamConnection.commonListen ( String  cmd)
protected
synchronized void sfi.director.invoker.StreamConnection.imDone ( )
protected
void sfi.director.invoker.StreamConnection.leanBackAndWait ( ) throws DirectorException
protected
void sfi.director.invoker.StreamConnection.log ( LogEntry  log) throws DirectorException
protected
void sfi.director.invoker.StreamConnection.master ( StoppableThread  thread)
protected
void sfi.director.invoker.StreamConnection.masterlistener ( StoppableThread  thread)
protected
String sfi.director.invoker.StreamConnection.readNextLine ( ) throws IOException
protected
InputStream sfi.director.invoker.StreamConnection.retrieve ( String  url) throws DirectorException
protected
void sfi.director.invoker.StreamConnection.send ( byte[]  buf,
int  offset,
int  size 
) throws IOException
protected
OutputStream sfi.director.invoker.StreamConnection.send ( String  url) throws DirectorException
protected

This implements the ServerConnection send method.

References sfi.director.invoker.StreamConnection.send_cmd().

boolean sfi.director.invoker.StreamConnection.send_cmd ( String  cmd) throws IOException
protected
void sfi.director.invoker.StreamConnection.send_final_string ( String  str)
protected
void sfi.director.invoker.StreamConnection.send_string ( String  str) throws IOException
protected
void sfi.director.invoker.StreamConnection.Server ( RemoteJob  job) throws DirectorException
void sfi.director.invoker.StreamConnection.waitEvent ( )
protected

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