SunSPOT API V5.0


Uses of Interface
javax.microedition.io.Datagram

Packages that use Datagram
com.sun.spot.io.j2me.radiogram Support for the 'radiogram' GCF protocol. 
com.sun.spot.peripheral.radio Support for using the Sun SPOT's radio. 
com.sun.spot.service IService provides a general interface to allow running services to be controlled. 
javax.microedition.io   
 

Uses of Datagram in com.sun.spot.io.j2me.radiogram
 

Classes in com.sun.spot.io.j2me.radiogram that implement Datagram
 class Radiogram
          Helper class for "radiogram:" connections.
 

Methods in com.sun.spot.io.j2me.radiogram that return Datagram
 Datagram RadiogramConnImpl.newDatagram(byte[] buf, int size)
           
 Datagram RadiogramConnImpl.newDatagram(byte[] buf, int size, String addr)
           
 Datagram RadiogramConnImpl.newDatagram(int size)
           
 Datagram RadiogramConnImpl.newDatagram(int size, String addr)
           
 

Methods in com.sun.spot.io.j2me.radiogram with parameters of type Datagram
 void RadiogramConnImpl.receive(Datagram dgram)
           
 void RadiogramConnImpl.send(Datagram dgram)
           
 void Radiogram.setAddress(Datagram reference)
          Set the address associated with this radiogram by copying it from the supplied radiogram.
 

Uses of Datagram in com.sun.spot.peripheral.radio
 

Methods in com.sun.spot.peripheral.radio with parameters of type Datagram
 int LowPanSpotRadioHelper.getLinkQuality(Datagram dg)
          Returns the link quality for the received datagram as a combination of RSSI and CORR.
 int LowPanSpotRadioHelper.getLinkStrength(Datagram dg)
          Returns the link strength for the received datagram.
 long LowPanSpotRadioHelper.getTimestamp(Datagram dg)
          Return the time that a Datagram packet was actually received/sent.
 boolean LowPanSpotRadioHelper.isBroadcast(Datagram dg)
          Tell if datagram was sent as a broadcast message.
 

Uses of Datagram in com.sun.spot.service
 

Methods in com.sun.spot.service with parameters of type Datagram
 int ISpotRadioHelper.getLinkQuality(Datagram dg)
          Returns the link quality for the received datagram.
 int ISpotRadioHelper.getLinkStrength(Datagram dg)
          Returns the link strength for the received datagram.
 long ISpotRadioHelper.getTimestamp(Datagram dg)
          Return the time that a Datagram packet was actually received/sent.
 boolean ISpotRadioHelper.isBroadcast(Datagram dg)
          Tell if datagram was sent as a broadcast message.
 

Uses of Datagram in javax.microedition.io
 

Methods in javax.microedition.io that return Datagram
 Datagram DatagramConnection.newDatagram(byte[] buf, int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object.
 Datagram DatagramConnection.newDatagram(int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Create a new datagram object.
 

Methods in javax.microedition.io with parameters of type Datagram
 void DatagramConnection.receive(Datagram dgram)
          Receive a datagram.
 void DatagramConnection.send(Datagram dgram)
          Send a datagram.
 void Datagram.setAddress(Datagram reference)
          Set datagram address, copying the address from another datagram.
 


SunSPOT API V5.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.