jist.runtime
Class RemoteJist.JistClientLocal

java.lang.Object
  extended by jist.runtime.RemoteJist.JistClientLocal
All Implemented Interfaces:
java.rmi.Remote, RemoteJist.JistClientRemote, RemoteJist.PingRemote, RemoteJist.ResourceFinderRemote
Enclosing class:
RemoteJist

public static class RemoteJist.JistClientLocal
extends java.lang.Object
implements RemoteJist.JistClientRemote

Local JiST client.


Constructor Summary
RemoteJist.JistClientLocal()
          Create new Jist client RMI "server".
 
Method Summary
 void done()
          Signal client that simulation is done.
 byte[] getResourceBytes(java.lang.String name)
          Get bytes of a remote resource.
 long getResourceLastModificationDate(java.lang.String name)
          Get modification time of resource.
 RemoteIO.RemoteOutputStreamRemote getStdErr()
          Return remote stderr.
 RemoteIO.RemoteOutputStreamRemote getStdOut()
          Return remote stdout.
 void ping()
          Ping does not nothing, except check that destination is alive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteJist.JistClientLocal

public RemoteJist.JistClientLocal()
                           throws java.rmi.RemoteException
Create new Jist client RMI "server".

Throws:
java.rmi.RemoteException - never
Method Detail

getStdOut

public RemoteIO.RemoteOutputStreamRemote getStdOut()
Return remote stdout.

Specified by:
getStdOut in interface RemoteJist.JistClientRemote
Returns:
remote stdout

getStdErr

public RemoteIO.RemoteOutputStreamRemote getStdErr()
Return remote stderr.

Specified by:
getStdErr in interface RemoteJist.JistClientRemote
Returns:
remote stderr

done

public void done()
Signal client that simulation is done.

Specified by:
done in interface RemoteJist.JistClientRemote

getResourceBytes

public byte[] getResourceBytes(java.lang.String name)
Get bytes of a remote resource.

Specified by:
getResourceBytes in interface RemoteJist.ResourceFinderRemote
Parameters:
name - resource name
Returns:
bytes of resource

getResourceLastModificationDate

public long getResourceLastModificationDate(java.lang.String name)
Get modification time of resource.

Specified by:
getResourceLastModificationDate in interface RemoteJist.ResourceFinderRemote
Parameters:
name - resource name
Returns:
modification time of resource

ping

public void ping()
Ping does not nothing, except check that destination is alive.

Specified by:
ping in interface RemoteJist.PingRemote