Research Article

A Method of the Active and Passive Event Service Based on the Sensor Web

Table 2

The structure of the ActiveEventService class.

Member variables and member methodsFunction

āˆ’ TimeFlag: BooleanIdentifying whether this method is executed
+ ServiceFlag: BooleanIdentification whether the time difference is greater than T0
+ EventJudgement(): voidEvent filtering
+ CycleControl (int time): voidControlling the thread loop of the class

Class member access rights: + public; āˆ’ private.