public class GoogleCalendarAdapter extends Sensor implements SensorAdapter
Modifier and Type | Field and Description |
---|---|
private GoogleCalendarHook |
calendar
The google calendar connection as
GoogleCalendarHook . |
Constructor and Description |
---|
GoogleCalendarAdapter(ReasonerDimension dimension)
Creates a new
GoogleCalendarAdapter which provides the next events of the inhabitants Google(TM)
calendar. |
Modifier and Type | Method and Description |
---|---|
SensorData |
getSensorOutput()
Provides the inhabitants next calendar events.
|
static void |
main(java.lang.String[] args)
Main method which starts this sensor adapter.
|
connect, getDataDimension, getID, getLocalConf, getRequestTopic, getRequestTopicName, getResultTopic, getResultTopicName, getVersion, isActive, isSilent, loadDefaultsFromXMLResource, run, setDelay, setLocalConf, setRequestTopicName, setResultTopicName, setSilent, shutDown, stopped
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
connect, getDataDimension, getRequestTopicName, getResultTopicName, setSilent, start, stopped
isActive, shutDown
private GoogleCalendarHook calendar
GoogleCalendarHook
.public GoogleCalendarAdapter(ReasonerDimension dimension)
GoogleCalendarAdapter
which provides the next events of the inhabitants Google(TM)
calendar.Settings.SENSOR_CONFIGURATION_PATH
which is named like this class.dimension
- The ReasonerDimension
for which this sensor is configured.public final SensorData getSensorOutput()
getSensorOutput
in interface SensorAdapter
getSensorOutput
in class Sensor
SensorData
.public static void main(java.lang.String[] args)
args
- The start arguments as array of String
.