com.signalsoftcorp.lst.client
Class WLP10Position
java.lang.Object
|
+--com.signalsoftcorp.lst.client.Response
|
+--com.signalsoftcorp.lst.client.WLP10Position
- public class WLP10Position
- extends Response
Represents a geographic position within a WLI10Position.
- See Also:
Constants.OK
,
Constants.SYSTEM_FAILURE
,
Constants.SUBSCRIBER_NOT_FOUND
,
Constants.INVALID_SUBSCRIBER_ID
,
Constants.INCORRECT_PASSWORD
,
Constants.CLIENT_NOT_FOUND
,
Constants.CLIENT_AUTHENTICATION_FAILED
,
WLP10Constants.CONGESTION_IN_LOCATION_SERVER
,
WLP10Constants.CONGESTION_IN_MOBILE_NETWORK
,
WLP10Constants.TOO_MANY_POSITION_ITEMS
,
WLP10Constants.FORMAT_ERROR
,
WLP10Constants.SYNTAX_ERROR
,
WLP10Constants.INVALID_PROTOCOL_ELEMENT_VALUE
,
WLP10Constants.INVALID_PROTOCOL_ELEMENT_ATTRIBUTE
,
WLP10Constants.PROTOCOL_ELEMENT_VALUE_NOT_SUPPORTED
,
WLP10Constants.QOP_NOT_ATTAINABLE
,
WLP10Constants.POSITIONING_NOT_ALLOWED
,
WLP10Constants.DISALLOWED_BY_LOCAL_REGULATIONS
,
WLP10Constants.MISCONFIGURATION_OF_LOCATION_SERVER
Constructor Summary |
WLP10Position()
|
WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius)
|
WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius,
int code)
|
WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius,
int code,
java.lang.String detail)
|
Method Summary |
java.lang.String |
getLatitude()
This field will be returned in the following format DD MM SS.SSSH
where D are degrees, M are minutes, S are seconds and H are the indicator N for north and S for south. |
java.lang.String |
getLongitude()
This field will be returned in the following format DD MM SS.SSSH
where D are degrees, M are minutes, S are seconds and H are the indicator W for west and E for east. |
java.lang.String |
getRadius()
The uncertainty radius is the radius (in meters) of the uncertainty;
this is the geodesic distance between the arc and the position point. |
SubscriberId |
getSubscriberId()
|
java.util.Date |
getTime()
The time field contains the time. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WLP10Position
public WLP10Position()
WLP10Position
public WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius)
WLP10Position
public WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius,
int code)
WLP10Position
public WLP10Position(SubscriberId subscriber,
java.util.Date time,
java.lang.String latitude,
java.lang.String longitude,
java.lang.String radius,
int code,
java.lang.String detail)
getTime
public java.util.Date getTime()
- The time field contains the time.
If a position is returned the time field will contain the time for when the mobile station
was positioned. If an error is returned the time field will contain the time when the
error occured.
- Returns:
- time
getLongitude
public java.lang.String getLongitude()
- This field will be returned in the following format DD MM SS.SSSH
where D are degrees, M are minutes, S are seconds and H are the indicator W for west and E for east.
- Returns:
- longitude
getLatitude
public java.lang.String getLatitude()
- This field will be returned in the following format DD MM SS.SSSH
where D are degrees, M are minutes, S are seconds and H are the indicator N for north and S for south.
- Returns:
- latituide
getRadius
public java.lang.String getRadius()
- The uncertainty radius is the radius (in meters) of the uncertainty;
this is the geodesic distance between the arc and the position point.
- Returns:
- radius The uncertainty radius is the radius (in meters) of the uncertainty.
getSubscriberId
public SubscriberId getSubscriberId()
- Returns:
- SubscriberId SubscriberId contains the Mobile station id. See
SubscriberId
.
toString
public java.lang.String toString()
- Overrides:
toString
in class Response
Copyright © SignalSoft Corp. All Rights Reserved.