public class GatewayBidib extends AbstractBidib
DEFAULT_TIMEOUT| Constructor and Description |
|---|
GatewayBidib() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected BidibMessageProcessor |
createMessageReceiver(NodeRegistry nodeFactory) |
static BidibInterface |
getInstance() |
List<String> |
getPortIdentifiers() |
boolean |
isOpened() |
void |
open(String portName,
ConnectionListener connectionListener,
Set<NodeListener> nodeListeners,
Set<MessageListener> messageListeners,
Set<TransferListener> transferListeners,
Context context) |
protected void |
sendData(byte[] data) |
findNode, getAccessoryNode, getBoosterNode, getCommandStationNode, getConnectionListener, getFirmwarePacketTimeout, getMessageReceiver, getNode, getNodeRegistry, getResponseTimeout, getRootNode, getTransferListeners, initialize, receive, registerListeners, releaseRootNode, send, setConnectionListener, setFirmwarePacketTimeout, setIgnoreWaitTimeout, setResponseTimeout, startReceiverAndQueues, stopReceiverAndQueuespublic static BidibInterface getInstance()
protected BidibMessageProcessor createMessageReceiver(NodeRegistry nodeFactory)
createMessageReceiver in class AbstractBidibpublic void open(String portName, ConnectionListener connectionListener, Set<NodeListener> nodeListeners, Set<MessageListener> messageListeners, Set<TransferListener> transferListeners, Context context) throws PortNotFoundException, PortNotOpenedException
public boolean isOpened()
public void close()
protected void sendData(byte[] data)
sendData in class AbstractBidibCopyright © 2017. All rights reserved.