nl.justobjects.pushlet.test
Class TestEventPullSources.TemperatureEventPullSource

java.lang.Object
  extended by nl.justobjects.pushlet.core.EventPullSource
      extended by nl.justobjects.pushlet.test.TestEventPullSources.TemperatureEventPullSource
All Implemented Interfaces:
java.lang.Runnable, EventSource
Enclosing class:
TestEventPullSources

public static class TestEventPullSources.TemperatureEventPullSource
extends EventPullSource

Produces a fake temparature event.


Field Summary
(package private)  java.lang.String[] cities
           
 
Constructor Summary
TestEventPullSources.TemperatureEventPullSource()
           
 
Method Summary
 long getSleepTime()
           
 Event pullEvent()
           
 
Methods inherited from class nl.justobjects.pushlet.core.EventPullSource
activate, isAlive, passivate, run, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cities

java.lang.String[] cities
Constructor Detail

TestEventPullSources.TemperatureEventPullSource

public TestEventPullSources.TemperatureEventPullSource()
Method Detail

getSleepTime

public long getSleepTime()
Specified by:
getSleepTime in class EventPullSource

pullEvent

public Event pullEvent()
Specified by:
pullEvent in class EventPullSource


Copyright 2000-2003 - Just Objects B.V.