|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpotRadioHelper
Interface for a generic SPOT Radio Manager service.
Field Summary |
---|
Fields inherited from interface com.sun.spot.service.IService |
---|
PAUSED, PAUSING, READY, RESUMING, RUNNING, STARTING, STOPPED, STOPPING |
Method Summary | |
---|---|
String |
getDatagramConnectionProtocol()
Tell others the Datagram protocol name for use with GCF. |
int |
getLinkQuality(Datagram dg)
Returns the link quality for the received datagram. |
int |
getLinkStrength(Datagram dg)
Returns the link strength for the received datagram. |
RouteInfo[] |
getRouteInfo()
Return an array of the current route info to all known addresses. |
RouteInfo[] |
getRouteInfo(long address)
Return information on the current route(s) to the specified destination address. |
String |
getRoutingManagerName()
Return the name of the current Routing Manager. |
String |
getStreamConnectionProtocol()
Tell others the Stream protocol name for use with GCF. |
long |
getTimestamp(Datagram dg)
Return the time that a Datagram packet was actually received/sent. |
boolean |
isBroadcast(Datagram dg)
Tell if datagram was sent as a broadcast message. |
boolean |
isMutableRoutingManager()
Check whether this Routing Manager allows writing to the Routing Table. |
Methods inherited from interface com.sun.spot.service.IService |
---|
getEnabled, getServiceName, getStatus, isRunning, pause, resume, setEnabled, setServiceName, start, stop |
Method Detail |
---|
String getDatagramConnectionProtocol()
String getStreamConnectionProtocol()
int getLinkQuality(Datagram dg)
dg
- Datagram
int getLinkStrength(Datagram dg)
dg
- Datagram
long getTimestamp(Datagram dg)
dg
- the Datagram to check
boolean isBroadcast(Datagram dg)
dg
- the Datagram to check
String getRoutingManagerName()
RouteInfo[] getRouteInfo(long address)
address
- the specified destination address
RouteInfo[] getRouteInfo()
boolean isMutableRoutingManager()
|
SunSPOT API V5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |