Cliser

cliser
Class ConcurrentServerTCPCommunicator

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

public class ConcurrentServerTCPCommunicator
extends ServerTCPCommunicator


Constructor Summary
ConcurrentServerTCPCommunicator(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

ConcurrentServerTCPCommunicator

public ConcurrentServerTCPCommunicator(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:
a new ClientTCPCommunicator, in which mySocket is 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.