monrovia.protocol.server
Class ServerTcpSender

java.lang.Object
  |
  +--monrovia.protocol.server.ServerTcpSender

public class ServerTcpSender
extends java.lang.Object

This class is the tcp sender class. The protocol initializes one tcp sender for each client. The server uses this class to send messages to the client.


Constructor Summary
ServerTcpSender(java.io.BufferedOutputStream pTcpOut)
          Constructor
 
Method Summary
 void sendExit()
          sendExit asks the client to disconnect
 void sendReconnect()
          sendReconnect is used to change arenas
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerTcpSender

public ServerTcpSender(java.io.BufferedOutputStream pTcpOut)
Constructor
Parameters:
pTcpOut - the tcp sockets outputstream
Method Detail

sendExit

public void sendExit()
sendExit asks the client to disconnect

sendReconnect

public void sendReconnect()
sendReconnect is used to change arenas