|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ITimeoutableConnection
This interface represents any Connection between a pair of Spots that can timeout on receiving data.
| 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()
|
SunSPOT API V4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||