net.sourceforge.simplegamenet.framework.transport
Class ServerConnection
java.lang.Object
net.sourceforge.simplegamenet.framework.transport.Connection
net.sourceforge.simplegamenet.framework.transport.ServerConnection
- All Implemented Interfaces:
- Runnable
- public class ServerConnection
- extends net.sourceforge.simplegamenet.framework.transport.Connection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverModem
protected ServerModem serverModem
playerID
protected Integer playerID
gameEndUnprocessed
protected boolean gameEndUnprocessed
socket
protected Socket socket
objectInputStream
protected ObjectInputStream objectInputStream
objectOutputStream
protected ObjectOutputStream objectOutputStream
inputThread
protected Thread inputThread
active
protected boolean active
ServerConnection
public ServerConnection(ServerModem serverModem,
Integer playerID,
Socket socket,
ObjectInputStream objectInputStream,
ObjectOutputStream objectOutputStream)
run
public void run()
sendPacket
public void sendPacket(Packet packet)
setGameEndUnprocessed
public void setGameEndUnprocessed(boolean gameEndUnprocessed)
close
public void close()
start
public void start()
Copyright © 2003-2004 The 3 Belgians. All Rights Reserved.