Cliser

cliser
Class UDPClient

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

public abstract class UDPClient
extends Client


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

UDPClient

public UDPClient(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 ClientUDPCommunicator initialized for myServer and myPort.
Overrides:
initCommunicator in class CommunicatorUser

Cliser

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