|
SunSPOT API V4.0 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
I802_15_4_MAC.mlmeSet(int, long) to control the 64-bit IEEE address for this MAC layer.
double value.
float value.
int value.
long value.
StreamConnection object that represents
a server side socket connection.
IOTACommand.
System.err will send its output.
evenSet.
System.out will send its output.
ResourceSharingScheme associated with the handle.
AM_PM field indicating the
period of the day from midnight to just before noon.
get and set indicating
whether the HOUR is before or after noon.
char
argument to this string buffer.
int
argument to this string buffer.
long
argument to this string buffer.
Object
argument to this string buffer.
boolean
argument to the string buffer.
char array
argument to this string buffer.
char array argument to this string buffer.
MONTH field indicating the
fourth month of the year.
ArithmeticException with no detail
message.
ArithmeticException with the specified
detail message.
ArrayIndexOutOfBoundsException with no
detail message.
ArrayIndexOutOfBoundsException
class with an argument indicating the illegal index.
ArrayIndexOutOfBoundsException class
with the specified detail message.
ArrayStoreException with no detail message.
ArrayStoreException with the specified
detail message.
MONTH field indicating the
eighth month of the year.
boolean in an object.Boolean object representing the
value argument.
InputStream with an input stream on the assumptions
that the first four bytes of the parent's content are a Java int which tells us
how many more valid bytes remain in the parent.InputStream.
ByteArrayInputStream contains
an internal buffer that contains bytes that
may be read from the stream.ByteArrayInputStream
so that it uses buf as its
buffer array.
ByteArrayInputStream
that uses buf as its
buffer array.
ByteArrayInputStream that allows the byte array buffer to be modified, using the
ByteArrayInputStreamWithSetBytes.setBytes(byte[], int, int) method.ByteArrayOutputStream that allows the byte array buffer to be read directly, using the
ByteArrayOutputStreamWithGetBytes.getBytes() method.Calendar is an abstract base class for converting between
a Date object and a set of integer fields such as
YEAR, MONTH, DAY, HOUR,
and so on.double value that is not less than the argument and is
equal to a mathematical integer.
char
in an object.Character object and initializes it so
that it represents the primitive value argument.
index argument,
is returned.
Class represent classes and interfaces
in a running Java application.ClassCastException with no detail message.
ClassCastException with the specified
detail message.
forName method in class Class
but no definition for the class with the specified name could be found.ClassNotFoundException with no detail message.
ClassNotFoundException with the
specified detail message.
IAT91_PIO.write(int, int), causes the selected pins to be set to 0.
System.err is sending its output.
System.out is sending its output.
close method of MulticastOutputStream invokes
the close method of all the contained streams and then removes
them from this multicaster.
ComparableRecordComparator.PRECEDES if rec1
precedes rec2 in sort order, or RecordComparator.FOLLOWS
if rec1 follows rec2 in sort order, or
RecordComparator.EQUIVALENT if rec1 and rec2
are equivalent in terms of sort order.
time
to field values in fields[].
fields[]
to the millisecond time value
time.
o.
IAddressableNorFlashSector
DataInput interface provides
for reading bytes from a binary stream and
reconstructing from them data in any of
the Java primitive types.DataInputStream
and saves its argument, the input stream
in, for later use.
DataOutput interface provides
for converting data from any of the Java
primitive types to a series of bytes and
writing these bytes to a binary stream.get and set indicating the
day of the month.
Date object and initializes it to
represent the current time specified number of milliseconds since the
standard base time known as "the epoch", namely January 1,
1970, 00:00:00 GMT.
Date object and initializes it to
represent the specified number of milliseconds since the
standard base time known as "the epoch", namely January 1,
1970, 00:00:00 GMT.
get and set indicating the
day of the month.
get and set indicating the
day of the week.
MONTH field indicating the
twelfth month of the year.
StringBuffer.
StringBuffer (shortening the StringBuffer
by one character).
MIDlet to terminate and enter the
Destroyed state.
ch in the
specified radix.
IDMAMemoryManagerdouble in an object.Double object that
represents the primitive double argument.
double value that is closer than any other to
e, the base of the natural logarithms.
Stack class to indicate
that the stack is empty.EmptyStackException with null
as its error message string.
EOFException with null
as its error detail message.
EOFException with the specified detail
message.
true if and only if the argument is not
null and is a Boolean object that
represents the same boolean value as this object.
String to another String,
ignoring case considerations.
Error is a subclass of Throwable
that indicates serious problems that a reasonable application
should not try to catch.Error with no specified detail message.
Exception and its subclasses are a form of
Throwable that indicates conditions that a reasonable
application might want to catch.Exception with no specified detail message.
Exception with the specified detail message.
long value.
double value.
Boolean object corresponding to the primitive
value false.
MONTH field indicating the
second month of the year.
double value that is not greater than the argument and
is equal to a mathematical integer.
flush method of MulticastOutputStream invokes
the flush method of all the contained streams.
Class object associated with the class
with the given string name.
DAY_OF_WEEK field indicating
Friday.
type.
MIDlet with a mechanism to retrieve named
properties from the application management software.
byte at the given offset in the memory area
associated with this object.
number bytes starting at the given offset in the memory area
associated with this object and assigns
them to the byte array passed starting at position low.
String into bytes according to the platform's
default character encoding, storing the result into a new byte array.
String into bytes according to the specified
character encoding, storing the result into a new byte array.
dst.
date header field.
TimeZone for this host.
double at the given offset in the memory area
associated with this object.
number doubles starting at the given offset in the memory area
associated with this object and assign
them to the double array passed starting at position low.
expires header field.
HttpConnection.
float at the given offset in the memory area
associated with this object.
number floats starting at the given offset in the memory area
associated with this object and assign
them to the int array passed starting at position low.
HttpConnection. e.g. host name or IPv4 address
int at the given offset in the memory area
associated with this object.
number integers starting at the given offset in the memory area
associated with this object and assign
them to the int array passed starting at position low.
last-modified header field.
long at the given offset in the memory area
associated with this object.
number longs starting at the given offset in the memory area
associated with this object and assign
them to the long array passed starting at position low.
Suite#PROPERTIES_MANIFEST_RESOURCE_NAME property embedded in the suite.
Class
object, as a String.
HttpConnection.
HttpConnection. e.g., http or https
HttpConnection.
HttpConnection.
short at the given offset in the memory area
associated with this object.
number shorts starting at the given offset in the memory area
associated with this object and assign
them to the short array passed starting at position low.
ISpot.SYSTEM_TICKER_TICKS_PER_MILLISECOND.
TimeZone for the given ID.
int at the given byte offset in the memory, starting from base.
long at the given byte offset in the memory, starting from base.
short at the given byte offset in the memory, starting from base.
addLifecycleListener.
IOTACommandServer.HELLO_CMD
Double object.
IOTACommandServer.HELLO_CMD that we support
b, encoded as hexadecimal characters.
b, encoded as hexadecimal characters.
get and set indicating the
hour of the morning or afternoon.
get and set indicating the
hour of the day.
INorFlashSector to support
the ability to assign virtual memory addresses to sectors.IFlashFileInfo to provide access to the
physical flash sectors allocated to the flash file that the IExtendedFlashFileInfo
represents.FlashFile system on the Sun SPOT device.IllegalAccessException without a
detail message.
IllegalAccessException with a detail message.
IllegalArgumentException with no
detail message.
IllegalArgumentException with the
specified detail message.
IllegalMonitorStateException with no
detail message.
IllegalMonitorStateException with the
specified detail message.
IllegalThreadStateException with no
detail message.
IllegalThreadStateException with the
specified detail message.
IMultipleHopConnection support adjustment of the
number of hops between nodes that messages can make.equals method.
index, and testing for equality using
the equals method.
equals method.
index, and testing for equality using
the equals method.
IndexOutOfBoundsException with no
detail message.
IndexOutOfBoundsException with the
specified detail message.
RecordStore).IAddressableNorFlashSector.IAT91_PIO.open(int, int), defines the selected pins to be inputs.
char
argument into this string buffer.
double
argument into this string buffer.
float
argument into this string buffer.
int
argument into this string buffer.
long
argument into this string buffer.
Object
argument into this string buffer.
boolean
argument into this string buffer.
char array
argument into this string buffer.
index.
index.
newInstance method in class
Class, but the specified class object cannot be
instantiated because it is an interface or is an abstract class.InstantiationException with no detail message.
InstantiationException with the
specified detail message.
int
in an object.Integer object that
represents the primitive int argument.
InterruptedException with no detail message.
InterruptedException with the
specified detail message.
InterruptedIOException with
null as its error detail message.
InterruptedIOException with the
specified detail message.
InvalidRecordIDException with no detail
message.
InvalidRecordIDException with the
specified detail message.
IOException with null
as its error detail message.
IOException with the specified detail
message.
IOPinException without detail message.
IOPinException with the specified detail message.
IOTACommand is passed an instance of this interface at execution
to help it communicate with the remote SpotClient.IOTACommandServer.IProtocolManager designed to separate incoming radio packets into
separate queues based on a unique identifying port number in the range 0-255, and manage
them as unreliable datagrams.IProtocolManager designed to separate incoming radio packets into
separate queues based on a unique identifying port number in the range 0-255.IProtocolManager designed to separate incoming radio packets into
separate queues based on a unique identifying port number in the range 0-255, and manage
them as reliable streams.IRoutingManagerClass object represents an array class.
Class object is either the same as, or is a superclass or
superinterface of, the class or interface represented by the specified
Class parameter.
exited.
hibernated.
Object is assignment-compatible
with the object represented by this Class.
Class object represents an
interface type.
max.
max.
started.
Isolate class represents a "process-like" unit of computation that is isolated from other instances of Isolate.null.
MONTH field indicating the
first month of the year.
MONTH field indicating the
seventh month of the year.
MONTH field indicating the
sixth month of the year.
System.err is currently sending its output.
System.out is currently sending its output.
double
value.
long
in an object.Long object that
represents the primitive long argument.
I802_15_4_MACI802_15_4_MAC.mlmeSet(int, long) to control whether RX is active when not explicitly enabled through I802_15_4_MAC.mlmeRxEnable(int).
MONTH field indicating the
third month of the year.
mark
and reset methods.
mark and
reset methods.
Math contains methods for performing basic
numeric operations.MathUtils contains some of the Java SE Math routines that are not present in the CLDC 1.1 version of Math:
MathUtils.asin(double), MathUtils.acos(double), MathUtils.atan(double) & MathUtils.atan2(double, double).double values.
float values.
int values.
long values.
char.
double.
int.
long.
MONTH field indicating the
fifth month of the year.
InputStream that streams over the device memory.MIDLet is a MID Profile application.MIDlet state change failed.IFlashFileInfo
get and set indicating the
millisecond within the second.
double values.
float values.
int values.
long values.
char.
double.
int.
long.
get and set indicating the
minute within the hour.
DAY_OF_WEEK field indicating
Monday.
get and set indicating the
month.
double.
double.
NegativeArraySizeException with no
detail message.
NegativeArraySizeException with the
specified detail message.
double value between 0.0 and
1.0 from this random number generator's sequence.
float
value between 0.0 and 1.0 from this random
number generator's sequence.
int
value from this random number generator's sequence.
long
value from this random number generator's sequence.
new
expression) and no definition of the class could be found.NoClassDefFoundError with no detail message.
NoClassDefFoundError with the specified
detail message.
nextElement method of an
Enumeration to indicate that there are no more
elements in the enumeration.NoSuchElementException with null
as its error message string.
NoSuchElementException, saving a reference
to the error message string s for later retrieval by the
getMessage method.
MIDlet to notify the application
management software that it has entered into the
Destroyed state.
MONTH field indicating the
eleventh month of the year.
null in a
case where an object is required.NullPointerException with no detail message.
NullPointerException with the specified
detail message.
NumberFormatException with no detail message.
NumberFormatException with the
specified detail message.
Object is the root of the class hierarchy.MONTH field indicating the
tenth month of the year.
IProprietaryRadio.setOffMode(int))
IProprietaryRadio.setOffMode(int))
IProprietaryRadio.setOffMode(int))
RawMemoryAccess, or
RawMemoryFloatAccess is given an invalid address.OffsetOutOfBoundsException.
OffsetOutOfBoundsException.
OTAFlashFileInfo from its serialised representation (see OTAFlashFileInfo.toByteArray()
OTAFlashFileInfo from a FlashFile
OutOfMemoryError with no detail message.
OutOfMemoryError with the specified
detail message.
IAT91_PIO.open(int, int), defines the selected pins to be outputs.
String, as performed by the valueOf
method of class Double.
String, as performed by the valueOf
method of class Double.
long.
long in the
radix specified by the second argument.
MIDlet to stop and enter the
Paused state.
I802_15_4_PHY.plmeSet(int, int))
I802_15_4_PHYI802_15_4_PHY.plmeSet(int, int))
I802_15_4_PHY.plmeSet(int, int) or
I802_15_4_PHY.plmeGet(int)double value that is closer than any other to
pi, the ratio of the circumference of a circle to its diameter.
AM_PM field indicating the
period of the day from noon to just before midnight.
double.
Throwable and its backtrace to the
standard error stream.
PrintStream adds functionality to another output stream,
namely the ability to print representations of various data values
conveniently.IProtocolManager.
Properties class represents a persistent set of
properties.RemotePrintConnection using the Generic Connection Framework (GCF)
used by J2ME.Spot.getInstance() and Spot.getAT91_PIO(int).
key to the specified
value in this hashtable.
key to the specified
value in this hashtable.
IRadioPacketDispatcher
for the Spot environment.long seed:
public Random(long seed) { setSeed(seed); }
Used by method next to hold
the state of the pseudorandom number generator.
RawMemoryAccess models a range of physical
memory as a fixed sequence of bytes.RawMemoryAccess with the given parameters,
and set the object to the mapped state.
RawMemoryAccess with the given parameters,
and set the object to the mapped state.
RawMemoryFloatAccess with the given parameters,
and set the object to the mapped state.
RawMemoryFloatAccess with the given parameters,
and set the object to the mapped state.
len bytes of data into an array of bytes
from this input stream.
read
method of DataInput.
len bytes of data from this input stream
into an array of bytes.
b.
len bytes of data from the input stream into
an array of bytes.
values.
true if that byte is nonzero,
false if that byte is zero.
readBoolean
method of DataInput.
readByte
method of DataInput.
char and returns the char value.
readChar
method of DataInput.
double value.
float value.
b.
len
bytes from
an input stream.
readFully
method of DataInput.
readFully
method of DataInput.
int value.
readInt
method of DataInput.
long value.
readLong
method of DataInput.
short value.
readShort
method of DataInput.
int, and returns
the result, which is therefore in the range
0
through 255.
readUnsignedByte
method of DataInput.
int, and returns
an int value in the range 0
through 65535.
readUnsignedShort
method of DataInput.
readUTF
method of DataInput.
in a representation
of a Unicode character string encoded in
Java modified UTF-8 format; this string
of characters is then returned as a String.
RecordStoreException with no detail
message.
RecordStoreException with the
specified detail message.
RecordStoreFullException with no detail
message.
RecordStoreFullException with the
specified detail message.
RecordStoreNotFoundException
with no detail message.
RecordStoreNotFoundException with the
specified detail message.
RecordStoreNotOpenException with no detail
message.
RecordStoreNotOpenException with the
specified detail message.
url (if any) to which System.err
is currently sending its output.
Isolate.LifecycleListener from this isolate.
url (if any) to which System.out
is currently sending its output.
oldChar in this string with newChar.
count field of this byte array output
stream to zero, so that all currently accumulated output in the
output stream is discarded.
mark method was last called on this input stream.
mark method was last called on this input stream.
read/write pointer as well as the
offset and length state variables.
MIDlet with a mechanism to indicate that it is
interested in entering the Active state.
double value that is closest in value
to the argument and is equal to a mathematical integer.
long to the argument.
int to the argument.
RouteEventClientRouteInfoOTACommandServer.initialize() instead.
Isolate.start()}, and shouldn't be called directly
Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread.
Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
Runnable interface should be implemented by any
class whose instances are intended to be executed by a thread.Runtime that allows the application to interface with
the environment in which the application is running.RuntimeException is the superclass of those
exceptions that can be thrown during the normal operation of the
Java Virtual Machine.RuntimeException with no detail message.
RuntimeException with the specified
detail message.
I802_15_4_PHY.plmeSetTrxState(int)) to enable RX
DAY_OF_WEEK field indicating
Saturday.
get and set indicating the
second within the minute.
SecurityException with no detail message.
SecurityException with the specified
detail message.
IOTACommandHelper.sendData(byte[], int, int) instead
dos.
MONTH field indicating the
ninth month of the year.
Channel is a one-to-one connection between two isolates, a ServerChannel
provides a factory to create new Channels by name.IAT91_PIO.write(int, int), causes the selected pins to be set to 1.
byte at the given offset in the memory area
associated with this object.
number bytes starting at the given offset in the memory area
associated with this object from the
byte array passed starting at position low.
ch.
buffer, offset and length
state variables.
double at the given offset in the memory area
associated with this object.
number doubles starting at the given offset in the memory area
associated with this object from the
double array passed starting at position low.
index of this
vector to be the specified object.
index of this
vector to be the specified object.
true.
float at the given offset in the memory area
associated with this object.
number floats starting at the given offset in the memory area
associated with this object from the
float array passed starting at position low.
int at the given offset in the memory area
associated with this object.
number ints starting at the given offset in the memory area
associated with this object from the
int array passed starting at position low.
length state variable.
long at the given offset in the memory area
associated with this object.
number longs starting at the given offset in the memory area
associated with this object from the
long array passed starting at position low.
put.
long seed.
short at the given offset in the memory area
associated with this object.
number shorts starting at the given offset in the memory area
associated with this object from the
short array passed starting at position low.
int at the given byte offset in the memory, starting from base.
long at the given byte offset in the memory, starting from base.
short at the given byte offset in the memory, starting from base.
IAT91_PowerManager.setShallowSleepClockMode(int) to select PCK/MCK of 18.432MHz/18.432MHz.
IAT91_PowerManager.setShallowSleepClockMode(int) to select PCK/MCK of 45MHz/45MHz.
IAT91_PowerManager.setShallowSleepClockMode(int) to select PCK/MCK of 9.216MHz/9.216MHz.
IAT91_PowerManager.setShallowSleepClockMode(int) to select PCK/MCK of 180MHz/60MHz.
IPowerController.setIndicate(byte) parameter. 1 indicates that the SPOT
should display events using its LEDs.
IPowerController.setIndicate(byte) parameter. 1 indicates that the SPOT
should display the power state using its LEDs.
IPowerController.setControl(byte) parameter.
IResource interface that can be used as it is, or
extended for a more complex use.IResourceHandle that can be used as is or extended.RawMemoryAccess, or
RawMemoryFloatAccess is given an invalid size or if an
accessor method on one of the above classes would cause access to
an invalid address.SizeOutOfBoundsException.
SizeOutOfBoundsException.
n bytes of input from this input stream.
n bytes of data from the
input stream.
n bytes of data from this input
stream.
n bytes
of data from the input stream, discarding the skipped
bytes.
skipBytes
method of DataInput.
SortedListdouble value.
SquawkVector class is an unsynchronized version of
Vector.Stack class represents a last-in-first-out
(LIFO) stack of objects.run method of this thread.
MIDlet that it has entered the
Active state.
String class represents character strings.String object so that it
represents an empty character sequence.
String object so that it
represents the same sequence of characters as the argument; in other
words, the newly created string is a copy of the argument string.
String by converting the specified array
of bytes using the platform's default character encoding.
String by converting the specified
subarray of bytes using the platform's default character encoding.
String by converting the specified
subarray of bytes using the specified character encoding.
String by converting the specified array
of bytes using the specified character encoding.
String so that it represents the
sequence of characters currently contained in the character array
argument.
String that contains characters from
a subarray of the character array argument.
length argument.
charAt method in class
String and by other String
methods to indicate that an index is either negative or greater
than or equal to the size of the string.StringIndexOutOfBoundsException with no
detail message.
StringIndexOutOfBoundsException
class with an argument indicating the illegal index.
StringIndexOutOfBoundsException with
the specified detail message.
pdDataRequest(RadioPacket) and I802_15_4_PHY.plmeSetTrxState(int)
DAY_OF_WEEK field indicating
Sunday.
System class contains several useful class fields
and methods.TestBase.Thread object.
Thread object with a
specific target object whose run method
is called.
Thread object with the given
target and name.
Thread object with the
given name.
Throwable class is the superclass of all errors
and exceptions in the Java language.Throwable with null as
its error message string.
Throwable with the specified error
message.
DAY_OF_WEEK field indicating
Thursday.
Timer.TimeZone represents a time zone offset, and also figures
out daylight savings.String to lower case.
double
argument.
Date object to a String
of the form:
dow mon dd hh:mm:ss zzz yyyy
where:
dow is the day of the week (Sun, Mon, Tue, Wed,
Thu, Fri, Sat).
String to upper case.
Boolean object corresponding to the primitive
value true.
I802_15_4_PHY.plmeSetTrxState(int)) to disable RX
DAY_OF_WEEK field indicating
Tuesday.
I802_15_4_PHY.plmeCCARequest() if transmission is active
UnsupportedPhysicalMemoryException.
UnsupportedPhysicalMemoryException.
UTFDataFormatException with
null as its error detail message.
UTFDataFormatException with the
specified detail message.
Double object initialized to the value
represented by the specified string.
char
argument.
double argument.
float argument.
int argument.
long argument.
Object argument.
boolean argument.
char array
argument.
char array argument.
Vector class implements a growable array of
objects.VirtualMachineError with no detail message.
VirtualMachineError with the specified
detail message.
VM.Stats.sendStatData(java.io.DataOutputStream).
Object.notify() method or the
Object.notifyAll() method for this object.
Object.notify() method or the
Object.notifyAll() method for this object, or a
specified amount of time has elapsed.
Object.notify() method or the
Object.notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
IPowerController.setControl(byte) parameter.
DAY_OF_WEEK field indicating
Wednesday.
close method of MulticastOutputStream invokes
the write(byte) method of all the contained streams.
len bytes from the specified byte array
starting at offset off to this output stream.
The close method of MulticastOutputStream invokes
the write(byte[], int, int) method of all the contained streams.
len bytes from the specified byte array
starting at offset off to this byte array output stream.
b.
b.
len bytes from array
b, in order, to
the output stream.
b) to the underlying output stream.
len bytes from the specified byte array
starting at offset off to the underlying output stream.
b.length bytes from the specified byte array
to this output stream.
len bytes from the specified byte array
starting at offset off to this output stream.
len bytes from the specified byte array starting at
offset off to this stream.
boolean value to this output stream.
boolean to the underlying output stream as
a 1-byte value.
v.
byte to the underlying output stream as
a 1-byte value.
char value, which
is comprised of two bytes, to the
output stream.
char to the underlying output stream as a
2-byte value, high byte first.
s,
to the output stream, in order,
two bytes per character.
double value,
which is comprised of eight bytes, to the output stream.
float value,
which is comprised of four bytes, to the output stream.
int value, which is
comprised of four bytes, to the output stream.
int to the underlying output stream as four
bytes, high byte first.
long value, which is
comprised of four bytes, to the output stream.
long to the underlying output stream as eight
bytes, high byte first.
short to the underlying output stream as two
bytes, high byte first.
s.
get and set indicating the
year.
null.
null.
null.
|
SunSPOT API V4.0 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||