|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cluster5.terminal.TerminalServerInterface
public class TerminalServerInterface
Method Summary | |
---|---|
void |
announceTerminalDown(java.lang.Long executorId)
Announces that a terminal has shut down. |
java.lang.Long |
announceTerminalUp(Terminal executor)
Announces that a terminal is up and passes information about itself |
byte[] |
getFileData(java.lang.Long sharedFileId)
|
static TerminalServerInterface |
getInstance()
|
TerminalTask |
getTask(java.lang.Long terminalId)
Fetches a Task to process. |
java.util.List<SharedFile> |
listFiles()
List files to be compared with the locals and then updated for newer versions if needed. |
void |
reconnect()
|
void |
setResult(TerminalTask executorTask)
Returns a Task with result, stdout and stderr listings inside. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TerminalServerInterface getInstance()
public byte[] getFileData(java.lang.Long sharedFileId) throws java.rmi.RemoteException
getFileData
in interface ServerInterface4Terminals
java.rmi.RemoteException
public TerminalTask getTask(java.lang.Long terminalId) throws java.rmi.RemoteException
ServerInterface4Terminals
Task
to process.
getTask
in interface ServerInterface4Terminals
java.rmi.RemoteException
public java.util.List<SharedFile> listFiles() throws java.rmi.RemoteException
ServerInterface4Terminals
listFiles
in interface ServerInterface4Terminals
java.rmi.RemoteException
public void setResult(TerminalTask executorTask) throws java.rmi.RemoteException, java.rmi.NoSuchObjectException
ServerInterface4Terminals
Task
with result, stdout and stderr listings inside.
setResult
in interface ServerInterface4Terminals
java.rmi.RemoteException
java.rmi.NoSuchObjectException
public void reconnect()
public void announceTerminalDown(java.lang.Long executorId) throws java.rmi.RemoteException
ServerInterface4Terminals
announceTerminalDown
in interface ServerInterface4Terminals
java.rmi.RemoteException
public java.lang.Long announceTerminalUp(Terminal executor) throws java.rmi.RemoteException
ServerInterface4Terminals
announceTerminalUp
in interface ServerInterface4Terminals
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |