nl.justobjects.pushlet.test
Class TestEventPullSources.TemperatureEventPullSource

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

public static class TestEventPullSources.TemperatureEventPullSource
extends EventPullSource

Produces a fake temparature event.


Field Summary
(package private)  java.lang.String[] cities
           
 
Fields inherited from class nl.justobjects.pushlet.core.EventPullSource
 
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.