com.sun.spot.client.command
Class HelloResult
java.lang.Object
com.sun.spot.client.command.HelloResult
- All Implemented Interfaces:
- Serializable
public class HelloResult
- extends Object
- implements Serializable
HelloResult: helper class for HelloCommand that represents the data obtained from one SPOT
responding to a hello command.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_LOCATION
public static final int NO_LOCATION
- See Also:
- Constant Field Values
LAT_LONG_ALTITUDE
public static final int LAT_LONG_ALTITUDE
- See Also:
- Constant Field Values
X_Y_Z
public static final int X_Y_Z
- See Also:
- Constant Field Values
remoteAddress
public final long remoteAddress
helloCommandVersion
public final int helloCommandVersion
helloCommandMinorVersion
public final int helloCommandMinorVersion
spotSDKVersion
public final String spotSDKVersion
libraryHash
public final int libraryHash
ownerId
public final byte[] ownerId
spotTime
public final long spotTime
hardwareMajorRevision
public final String hardwareMajorRevision
hardwareMinorRevision
public final int hardwareMinorRevision
isExternallyPowered
public final boolean isExternallyPowered
vBatt
public final int vBatt
skew
public final long skew
name
public final String name
hasPublicKey
public final boolean hasPublicKey
isCharging
public boolean isCharging
batteryLevel
public int batteryLevel
hasLocation
public boolean hasLocation
locationType
public int locationType
latitude
public float latitude
longitude
public float longitude
altitude
public float altitude
x
public float x
y
public float y
z
public float z
HelloResult
public HelloResult(Datagram receivedDatagram,
long timeBeforeSend)
throws IOException
- Parameters:
receivedDatagram - the datagram received from a remote SPOT in response to a hellow commandtimeBeforeSend - the local system time before the hello command was sent
- Throws:
IOException
Copyright © 2006-2008 Sun Microsystems, Inc. All Rights Reserved.