|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITimeoutableConnection
Thie interface represents any Connection between a pair of Spots that can timeout on receiving data. There are currently two such Connection types: see the references below.
RadioConnection,
RadiogramConnection| Method Summary | |
|---|---|
long |
getTimeout()
Get the timeout for receiving information on this connection |
void |
setTimeout(long time)
Set the timeout for receiving information on this connection |
| Method Detail |
|---|
void setTimeout(long time)
time - - Timeout period in milliseconds. Set this to -1 to turn off timeouts (infinite wait),
or to 0 or more to wait that long for data before throwing a TimeoutException.long getTimeout()
|
Sun SPOT API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||