|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcluster5.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 ServerInterface4Terminalsjava.rmi.RemoteException
public TerminalTask getTask(java.lang.Long terminalId)
throws java.rmi.RemoteException
ServerInterface4TerminalsTask to process.
getTask in interface ServerInterface4Terminalsjava.rmi.RemoteException
public java.util.List<SharedFile> listFiles()
throws java.rmi.RemoteException
ServerInterface4Terminals
listFiles in interface ServerInterface4Terminalsjava.rmi.RemoteException
public void setResult(TerminalTask executorTask)
throws java.rmi.RemoteException,
java.rmi.NoSuchObjectException
ServerInterface4TerminalsTask with result, stdout and stderr listings inside.
setResult in interface ServerInterface4Terminalsjava.rmi.RemoteException
java.rmi.NoSuchObjectExceptionpublic void reconnect()
public void announceTerminalDown(java.lang.Long executorId)
throws java.rmi.RemoteException
ServerInterface4Terminals
announceTerminalDown in interface ServerInterface4Terminalsjava.rmi.RemoteException
public java.lang.Long announceTerminalUp(Terminal executor)
throws java.rmi.RemoteException
ServerInterface4Terminals
announceTerminalUp in interface ServerInterface4Terminalsjava.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||