iCMS.applet
Class ClientPollerd
java.lang.Object
luky.serverSimple.Client
luky.serverSimple.ClientExtended
iCMS.applet.ClientPollerd
- All Implemented Interfaces:
- Runnable, EventListener, MyEventListener
public class ClientPollerd
- extends ClientExtended
The ClientPollerd class extends the ClientExtended class and is created to make a
listner for status changes in the pollerd which communicates with MyEventListners
- 1.0.0 - initial version
- 2.0.0 - Release for GPL as iCMS
- 2.0.1 - added watchdog
- Version:
- 2.0.1
- Author:
- Chris Lukassen
-

Constructor Summary |
ClientPollerd(String ip,
String port,
int interval)
constructor, takes ip number and portnumber of the server to connect to
it will monitor all available tokens |
ClientPollerd(String ip,
String port,
int interval,
String token)
constructor, takes ip number and portnumber of the server to connect to
and an additional token it will monitor |
Method Summary |
void |
myEventOccurred(MyEvent evt)
This method gets called by the Watchdog |
void |
run()
main loop of the client |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientPollerd
public ClientPollerd(String ip,
String port,
int interval)
- constructor, takes ip number and portnumber of the server to connect to
it will monitor all available tokens
ClientPollerd
public ClientPollerd(String ip,
String port,
int interval,
String token)
- constructor, takes ip number and portnumber of the server to connect to
and an additional token it will monitor
myEventOccurred
public void myEventOccurred(MyEvent evt)
- This method gets called by the Watchdog
- 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