iCMS.applet
Class ClientInfoRequest

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

public class ClientInfoRequest
extends ClientExtended

The ClientInfoRequest 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
ClientInfoRequest(String ip, String port, int interval)
          constructor, takes ip number and portnumber of the server to connect to
 
Method Summary
 void addInfoRequest(InfoRequest req)
          add an informational
 void myEventOccurred(MyEvent evt)
          This method gets called by the Watchdog, override, because of HI. reply
 void run()
          main loop of the client
 
Methods inherited from class luky.serverSimple.ClientExtended
addMyEventListener, fireMyEvent, handleCommError, 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

ClientInfoRequest

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

Method Detail

addInfoRequest

public void addInfoRequest(InfoRequest req)
add an informational


myEventOccurred

public void myEventOccurred(MyEvent evt)
This method gets called by the Watchdog, override, because of HI. reply

Specified by:
myEventOccurred in interface MyEventListener
Overrides:
myEventOccurred in class ClientExtended

run

public void run()
main loop of the client

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