|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapplogic.xbee.api.XBeeConfiguration
public class XBeeConfiguration
Constructor Summary | |
---|---|
XBeeConfiguration()
|
Method Summary | |
---|---|
int |
getMaxQueueSize()
|
ResponseFilter |
getResponseQueueFilter()
|
int |
getSendSynchronousTimeout()
|
boolean |
isShutdownHook()
|
boolean |
isStartupChecks()
|
XBeeConfiguration |
withMaxQueueSize(int size)
Sets the maximum size of the internal queue that supports the getResponse(..) method. |
XBeeConfiguration |
withNoRequestResponseQueueFilter()
Only adds responses that implement NoRequestResponse |
XBeeConfiguration |
withResponseQueueFilter(ResponseFilter filter)
|
XBeeConfiguration |
withSendSynchronousTimeout(int sendSynchronousTimeout)
|
XBeeConfiguration |
withShutdownHook(boolean shutdownHook)
Controls is a startup check is performed when connecting to the XBee. |
XBeeConfiguration |
withStartupChecks(boolean startupChecks)
Controls is a startup check is performed when connecting to the XBee. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XBeeConfiguration()
Method Detail |
---|
public XBeeConfiguration withShutdownHook(boolean shutdownHook)
startupChecks
- public XBeeConfiguration withStartupChecks(boolean startupChecks)
startupChecks
- public XBeeConfiguration withMaxQueueSize(int size)
size
- public XBeeConfiguration withResponseQueueFilter(ResponseFilter filter)
public XBeeConfiguration withSendSynchronousTimeout(int sendSynchronousTimeout)
public XBeeConfiguration withNoRequestResponseQueueFilter()
public boolean isStartupChecks()
public int getMaxQueueSize()
public ResponseFilter getResponseQueueFilter()
public int getSendSynchronousTimeout()
public boolean isShutdownHook()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |