|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TerminalLocationNotification
Notification interface to which notifications are delivered.
Method Summary | |
---|---|
void |
locationEnd(java.lang.String correlator)
The notifications have completed for this correlator. |
void |
locationError(java.lang.String correlator,
java.net.URI address,
ServiceError reason)
The location error message is sent to the application to indicate that the notification for a terminal, or for the whole notification, is being cancelled by the Web Service. |
void |
locationNotification(java.lang.String correlator,
LocationData[] data,
EnteringLeavingCriteria criteria)
When the location of a monitored device changes a notification is delivered to the application with the new location information. |
Method Detail |
---|
void locationNotification(java.lang.String correlator, LocationData[] data, EnteringLeavingCriteria criteria) throws java.rmi.RemoteException
When the location of a monitored device changes a notification is delivered to the application with the new location information. If a group identifier was used, the terminal device URI is provided, not the group URI.
None.
correlator
- xsd:string
Correlator provided in request to set up this notificationdata
- LocationInfoData
[1 .. unbounded]
Location information for terminalcriteria
- EnteringLeavingCriteria
NoYes
Indicates whether the notification was caused by the terminal entering or leaving the target area. (This part is provided for geographical notifications, not for periodic notifications)
java.rmi.RemoteException
void locationError(java.lang.String correlator, java.net.URI address, ServiceError reason) throws java.rmi.RemoteException
The location error message is sent to the application to indicate that the notification for a terminal, or for the whole notification, is being cancelled by the Web Service.
None.
correlator
- xsd:string
Correlator provided in request to set up this notificationaddress
- xsd:anyURI
Address of terminal if the error applies to an individual terminal, or not specified if it applies to the whole notificationreason
- common:ServiceError
Reason notification is being discontinued
java.rmi.RemoteException
void locationEnd(java.lang.String correlator) throws java.rmi.RemoteException
The notifications have completed for this correlator. This message will be delivered when the duration or count for notifications have been completed. This message will not be delivered in the case of an error ending the notifications or deliberate ending of the notifications (using endNotification operation).
None.
correlator
- xsd:string
Correlator provided in request to set up this notification
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |