Cliser

cliser
Class TCPClient

java.lang.Object
  |
  +--cliser.CommunicatorUser
        |
        +--cliser.Client
              |
              +--cliser.TCPClient

public abstract class TCPClient
extends Client


Constructor Summary
TCPClient(java.lang.String service, java.lang.String remoteHost, int port)
          explicit communicator
 
Method Summary
protected  Communicator initCommunicator()
          definition of abstract Client.initCommunicator() PRE: myServer and myPort are initialized.
 
Methods inherited from class cliser.Client
getPort, getServer, getService, interactWithServer, run
 
Methods inherited from class cliser.CommunicatorUser
getCommunicator, receive, send, setCommunicator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPClient

public TCPClient(java.lang.String service,
                 java.lang.String remoteHost,
                 int port)
explicit communicator
Method Detail

initCommunicator

protected Communicator initCommunicator()
definition of abstract Client.initCommunicator() PRE: myServer and myPort are initialized.
Returns:
a new ClientTCPCommunicator initialized for myServer and myPort.
Overrides:
initCommunicator in class CommunicatorUser

Cliser

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