iCMS.applet
Class ClientActionRequest

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

public class ClientActionRequest
extends ClientExtended

The ClientActionRequest 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
ClientActionRequest(String ip, String port, int interval)
          constructor, takes ip number and portnumber of the server to connect to
 
Method Summary
 void addActionRequest(ActionRequest req)
          add an actionrmational
 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

ClientActionRequest

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

Method Detail

addActionRequest

public void addActionRequest(ActionRequest req)
add an actionrmational


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