iCMS.applet
Class ClientTrapd

java.lang.Object
  extended by luky.serverSimple.Client
      extended by luky.serverSimple.ClientExtended
          extended by iCMS.applet.ClientTrapd
All Implemented Interfaces:
Runnable, EventListener, MyEventListener

public class ClientTrapd
extends ClientExtended

The ClientTrapd class extends the Client class and is created to make a listner for traps which communicates with MyEventListners

Version:
2.0.0
Author:
Chris Lukassen
 

Field Summary
 
Fields inherited from class luky.serverSimple.ClientExtended
IDLE, listenerList, name, RECONNECTING, RUNNING, STARTING, status, STOPPING
 
Fields inherited from class luky.serverSimple.Client
connected, reader, writer
 
Constructor Summary
ClientTrapd(String ip, String port, int interval)
          constructor, takes ip number and portnumber of the server to connect to
 
Method Summary
 void run()
          main loop of the client
 
Methods inherited from class luky.serverSimple.ClientExtended
addMyEventListener, fireMyEvent, handleCommError, myEventOccurred, removeMyEventListener, start, stop
 
Methods inherited from class luky.serverSimple.Client
getLine, getList, openConnection, sendCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientTrapd

public ClientTrapd(String ip,
                   String port,
                   int interval)
constructor, takes ip number and portnumber of the server to connect to

Method Detail

run

public void run()
main loop of the client

Specified by:
run in interface Runnable
Overrides:
run in class ClientExtended