Cliser

cliser
Class IterativeServerTCPCommunicator

java.lang.Object
  |
  +--cliser.Communicator
        |
        +--cliser.TCPCommunicator
              |
              +--cliser.ServerTCPCommunicator
                    |
                    +--cliser.IterativeServerTCPCommunicator

public class IterativeServerTCPCommunicator
extends ServerTCPCommunicator


Constructor Summary
IterativeServerTCPCommunicator(int port)
          explicit constructor
 
Method Summary
 TCPCommunicator accept()
          definition of abstract ServerTCPCommunicator.accept() PRE: Some client is going to connect to me.
 
Methods inherited from class cliser.ServerTCPCommunicator
getServerSocket, initSocket
 
Methods inherited from class cliser.TCPCommunicator
finalize, getLocalHost, getLocalPort, getRemoteHost, getRemotePort, getSocket, initReaderAndWriter, receive, send, setSocket
 
Methods inherited from class cliser.Communicator
getPort, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IterativeServerTCPCommunicator

public IterativeServerTCPCommunicator(int port)
explicit constructor
Method Detail

accept

public TCPCommunicator accept()
definition of abstract ServerTCPCommunicator.accept() PRE: Some client is going to connect to me.
Returns:
myself, with mySocket set to the return value of myServerSocket.accept()
Overrides:
accept in class ServerTCPCommunicator

Cliser

Cliser is open-source freeware distributed under the GNU Public License.