org.csapi.jr.se.mm.ul
Class TriggeredLocationReportEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.mm.ul.TriggeredLocationReportEvent
All Implemented Interfaces:
java.io.Serializable

public final class TriggeredLocationReportEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the triggeredLocationReport() method on the callback interface has occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TriggeredLocationReportEvent(java.lang.Object source, UserLocationExtended location, LocationTriggerCriteria criterion)
          Constructor for the TriggeredLocationReportEvent Event.
 
Method Summary
 LocationTriggerCriteria getCriterion()
          This method is used to retrieve the parameter value of 'criterion' passed up from the Gateway in it's call to the triggeredLocationReport() method, used on the creation of this event.
 UserLocationExtended getLocation()
          This method is used to retrieve the parameter value of 'location' passed up from the Gateway in it's call to the triggeredLocationReport() method, used on the creation of this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggeredLocationReportEvent

public TriggeredLocationReportEvent(java.lang.Object source,
                                    UserLocationExtended location,
                                    LocationTriggerCriteria criterion)
Constructor for the TriggeredLocationReportEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getLocation

public UserLocationExtended getLocation()
This method is used to retrieve the parameter value of 'location' passed up from the Gateway in it's call to the triggeredLocationReport() method, used on the creation of this event.

Returns:
The value of 'location' used on creation of this event.

getCriterion

public LocationTriggerCriteria getCriterion()
This method is used to retrieve the parameter value of 'criterion' passed up from the Gateway in it's call to the triggeredLocationReport() method, used on the creation of this event.

Returns:
The value of 'criterion' used on creation of this event.