|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectse.entra.phantom.server.rconsole.AdminCommandProcessor
public class AdminCommandProcessor
This class handles a remote administration session.
| Field Summary |
|---|
| Fields inherited from interface se.entra.phantom.server.rconsole.AdminTransactions |
|---|
APPLET_SERVERINFORMATION, LOADBALANCER_SLAVECONNECT, PHANTOM_EDITOR, RCONSOLE_APPRELOAD, RCONSOLE_APPS, RCONSOLE_BROADCAST, RCONSOLE_BROADCASTALL, RCONSOLE_BROADCASTAPP, RCONSOLE_BROADCASTCL, RCONSOLE_CLIENT, RCONSOLE_DISABLE, RCONSOLE_ENABLE, RCONSOLE_EVENT, RCONSOLE_KILL, RCONSOLE_LOCK, RCONSOLE_MEMCOMPACT, RCONSOLE_MEMORY, RCONSOLE_NOP, RCONSOLE_PEAKCLIENTCOUNT, RCONSOLE_PUT, RCONSOLE_QUIT, RCONSOLE_RESTART, RCONSOLE_RESTART_WEBSERVER, RCONSOLE_SHUTDOWN, RCONSOLE_TRACE, RCONSOLE_UPGRADE |
| Constructor Summary | |
|---|---|
AdminCommandProcessor(Socket socket,
ServerAdminInterface serverAdminInterface,
DefaultAdminExit listener,
AdminConfigProtection ac)
Starts a new thread to handle the admin session. |
|
| Method Summary | |
|---|---|
void |
dispose()
Called to perform a clean-up and dispose of the command session. |
String |
getCaller()
Gets the remote caller. |
Transaction |
receiveTransaction()
Reads a transaction from the client. |
void |
run()
The thread runs here until the server is shut-down. |
void |
sendString2DArray(String[][] str)
Sends a String[][] to the client. |
void |
sendStringArray(String[] str)
Sends a String[] to the client. |
void |
sendTransaction(Transaction trans)
Sends a transaction to the client. |
void |
setReadTimeout(int readTimeout)
Sets the read timeout value for the socket in milliseconds, zero indicates indefinite timeout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminCommandProcessor(Socket socket,
ServerAdminInterface serverAdminInterface,
DefaultAdminExit listener,
AdminConfigProtection ac)
throws IOException
IOException - for socket failure or for string failure.| Method Detail |
|---|
public void dispose()
public void setReadTimeout(int readTimeout)
public void run()
run in interface Runnablepublic String getCaller()
public Transaction receiveTransaction()
throws IOException
IOExceptionpublic void sendTransaction(Transaction trans)
public void sendStringArray(String[] str)
public void sendString2DArray(String[][] str)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||