|
|||||||||
| Home >> All >> org >> metacosm >> framework >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.metacosm.framework.server
Class AdminConsoleConnection

java.lang.Objectorg.metacosm.framework.server.Connection
org.metacosm.framework.server.AdminConsoleConnection
- All Implemented Interfaces:
- java.lang.Runnable
- public class AdminConsoleConnection
- extends Connection
AdminConsoleConnection provides connection to the game via the admin console protocol.
| Field Summary | |
private boolean |
forever
|
private java.io.BufferedReader |
input
|
private static int |
maxTimeoutEx
|
private int |
nbTimeoutEx
|
private java.io.PrintStream |
output
|
protected java.net.Socket |
socket
The socket is used to connect the client and the server. |
| Constructor Summary | |
(package private) |
AdminConsoleConnection(java.net.Socket s)
If the connection is established, the game will keep the socket. |
| Method Summary | |
void |
close()
|
void |
pleaseStop()
|
void |
run()
Provides the connection dialog for Admin Console protocol. |
void |
sendAdminMessage(java.lang.String msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
output
private java.io.PrintStream output
input
private java.io.BufferedReader input
nbTimeoutEx
private int nbTimeoutEx
forever
private boolean forever
maxTimeoutEx
private static int maxTimeoutEx
socket
protected java.net.Socket socket
- The socket is used to connect the client and the server.
| Constructor Detail |
AdminConsoleConnection
AdminConsoleConnection(java.net.Socket s)
- If the connection is established, the game will keep the socket.
| Method Detail |
close
public void close()
throws java.io.IOException
pleaseStop
public void pleaseStop()
run
public void run()
- Provides the connection dialog for Admin Console protocol.
- Specified by:
runin interfacejava.lang.Runnable- Specified by:
runin classConnection
sendAdminMessage
public void sendAdminMessage(java.lang.String msg)
|
|||||||||
| Home >> All >> org >> metacosm >> framework >> [ server overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC