SunSPOT host API V3.0


com.sun.spot.client.command
Class HelloResult

java.lang.Object
  extended by 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.


Field Summary
 String hardwareMajorRevision
           
 int hardwareMinorRevision
           
 int helloCommandMinorVersion
           
 int helloCommandVersion
           
 boolean isExternallyPowered
           
 int libraryHash
           
 String name
           
 byte[] ownerId
           
 long remoteAddress
           
 long skew
           
 String spotSDKVersion
           
 long spotTime
           
 int vBatt
           
 
Constructor Summary
HelloResult(Datagram receivedDatagram, long timeBeforeSend)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HelloResult

public HelloResult(Datagram receivedDatagram,
                   long timeBeforeSend)
            throws IOException
Parameters:
receivedDatagram - the datagram received from a remote SPOT in response to a hellow command
timeBeforeSend - the local system time before the hello command was sent
Throws:
IOException

SunSPOT host API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.