Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.metacosm.framework.server
Class Connection  view Connection download Connection.java

java.lang.Object
  extended byorg.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


Field Summary
protected  java.net.Socket socket
          The socket is used to connect the client and the server.
 
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
 

Field Detail

socket

protected java.net.Socket socket
The socket is used to connect the client and the server.

Constructor Detail

Connection

Connection(java.net.Socket s)
If the connection is established, the game will keep the socket.

Method Detail

run

public abstract void run()
Provides the connection dialog.

Specified by:
run in interface java.lang.Runnable