com.sun.spot.client.command
Class HelloResult
java.lang.Object
com.sun.spot.client.command.HelloResult
public class HelloResult
- extends Object
HelloResult: helper class for HelloCommand
that represents the data obtained from one SPOT
responding to a hello command.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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, 2007 Sun Microsystems, Inc. All Rights Reserved.