|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcluster5.server.ServerInterface4TerminalsImpl
public class ServerInterface4TerminalsImpl
| Constructor Summary | |
|---|---|
ServerInterface4TerminalsImpl()
|
|
| Method Summary | |
|---|---|
void |
announceTerminalDown(java.lang.Long terminalId)
Announces that a terminal has shut down. |
java.lang.Long |
announceTerminalUp(Terminal connectingTerminal)
Announces that a terminal is up and passes information about itself |
byte[] |
getFileData(java.lang.Long sharedFileId)
|
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 |
setResult(TerminalTask terminalTask)
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 |
| Constructor Detail |
|---|
public ServerInterface4TerminalsImpl()
| Method Detail |
|---|
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 terminalTask)
throws java.rmi.RemoteException
ServerInterface4TerminalsTask with result, stdout and stderr listings inside.
setResult in interface ServerInterface4Terminalsjava.rmi.RemoteExceptionpublic java.lang.Long announceTerminalUp(Terminal connectingTerminal)
ServerInterface4Terminals
announceTerminalUp in interface ServerInterface4Terminalspublic void announceTerminalDown(java.lang.Long terminalId)
ServerInterface4Terminals
announceTerminalDown in interface ServerInterface4Terminals
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||