java.lang.Object
org.metacosm.framework.server.Connection
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- AdminConsoleConnection, ClientConnection, SimpleConnection
- abstract class Connection
- extends java.lang.Object
- implements java.lang.Runnable
Mother class of SimpleConnection and ClientConnection
|
Constructor Summary |
(package private) |
Connection(java.net.Socket s)
If the connection is established, the game will keep the socket. |
|
Method Summary |
abstract void |
run()
Provides the connection dialog. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
socket
protected java.net.Socket socket
- The socket is used to connect the client and the server.
Connection
Connection(java.net.Socket s)
- If the connection is established, the game will keep the socket.
run
public abstract void run()
- Provides the connection dialog.
- Specified by:
run in interface java.lang.Runnable