Package | Description |
---|---|
org.openlcb |
Basic interfaces and classes for a prototype implemention of OpenLCB.
|
org.openlcb.implementations |
Provides sample implementations for OpenLCB Java interfaces.
|
org.openlcb.implementations.throttle | |
org.openlcb.implementations.throttle.dcc | |
org.openlcb.swing |
Provides prototype Java Swing implementations for OpenLCB.
|
org.openlcb.swing.networktree |
Provides JTree access to OpenLCB node information from the MimicNodeStore
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractConnection
Partial implementation of Connection with null startup behavior
|
class |
Gateway
Base for OpenLCB gateway implementations.
|
class |
MessageDecoder
This class provides a basic double-dispatch mechanism for handling
messages.
|
class |
MimicNodeStore
Store containing mimic proxies for nodes on external connections
Provides a Connection for incoming Messages.
|
class |
MimicNodeStore.NodeMemo |
class |
Node
Default base for OpenLCB node implementations.
|
class |
SingleLinkNode
Base for OpenLCB nodes that have only a single connection to the
outside world.
|
Modifier and Type | Field and Description |
---|---|
protected Connection |
SingleLinkNode.connection |
(package private) Connection |
MimicNodeStore.connection |
protected Connection |
ConfigurationPortal.connection |
protected Connection |
Gateway.eastInputConnection |
protected Connection |
Gateway.eastOutputConnection |
protected Connection |
Gateway.westInputConnection |
protected Connection |
Gateway.westOutputConnection |
Modifier and Type | Method and Description |
---|---|
Connection |
Gateway.getEastConnection()
Provide a connection object for use by
the East node.
|
Connection |
Gateway.getWestConnection()
Provide a connection object for use by
the West node.
|
Modifier and Type | Method and Description |
---|---|
void |
VerifyNodeIDNumberMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
VerifiedNodeIDNumberMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
StreamInitRequestMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
StreamInitReplyMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
StreamDataSendMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
StreamDataProceedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
StreamDataCompleteMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
SimpleNodeIdentInfoRequestMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
SimpleNodeIdentInfoReplyMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
ProtocolIdentificationRequestMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
ProtocolIdentificationReplyMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
ProducerIdentifiedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
ProducerConsumerEventReportMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
OptionalIntRejectedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
Message.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
LearnEventMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
InitializationCompleteMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
IdentifyProducersMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
IdentifyEventsMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
IdentifyConsumersMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
DatagramRejectedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
DatagramMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
DatagramAcknowledgedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
ConsumerIdentifiedMessage.applyTo(MessageDecoder decoder,
Connection sender)
Implement message-type-specific
processing when this message
is received by a node.
|
void |
Connection.ConnectionListener.connectionActive(Connection c) |
protected void |
MessageDecoder.defaultHandler(Message msg,
Connection sender)
Called by all the message-type-specific methods
in this class.
|
void |
MessageDecoder.handleConsumerIdentified(ConsumerIdentifiedMessage msg,
Connection sender)
Handle "Consumer Identified" message
|
void |
MessageDecoder.handleDatagram(DatagramMessage msg,
Connection sender)
Handle "Datagram" message
|
void |
MessageDecoder.handleDatagramAcknowledged(DatagramAcknowledgedMessage msg,
Connection sender)
Handle "Datagram Acknowledged" message
|
void |
MessageDecoder.handleDatagramRejected(DatagramRejectedMessage msg,
Connection sender)
Handle "Datagram Rejected" message
|
void |
MessageDecoder.handleIdentifyConsumers(IdentifyConsumersMessage msg,
Connection sender)
Handle "Identify Consumers" message
|
void |
MessageDecoder.handleIdentifyEvents(IdentifyEventsMessage msg,
Connection sender)
Handle "Identify Event" message
|
void |
MessageDecoder.handleIdentifyProducers(IdentifyProducersMessage msg,
Connection sender)
Handle "Identify Producers" message
|
void |
MessageDecoder.handleInitializationComplete(InitializationCompleteMessage msg,
Connection sender)
Handle "Initialization Complete" message
|
void |
MessageDecoder.handleLearnEvent(LearnEventMessage msg,
Connection sender)
Handle "Learn Event" message
|
void |
MimicNodeStore.NodeMemo.handleOptionalIntRejected(OptionalIntRejectedMessage msg,
Connection sender) |
void |
MessageDecoder.handleOptionalIntRejected(OptionalIntRejectedMessage msg,
Connection sender)
Handle "Optional Interaction Rejected" message
|
void |
MessageDecoder.handleProducerConsumerEventReport(ProducerConsumerEventReportMessage msg,
Connection sender)
Handle "Producer/Consumer Event Report" message
|
void |
MessageDecoder.handleProducerIdentified(ProducerIdentifiedMessage msg,
Connection sender)
Handle "Producer Identified" message
|
void |
MimicNodeStore.NodeMemo.handleProtocolIdentificationReply(ProtocolIdentificationReplyMessage msg,
Connection sender) |
void |
MessageDecoder.handleProtocolIdentificationReply(ProtocolIdentificationReplyMessage msg,
Connection sender)
Handle "Protocol Identification Reply" message
|
void |
MessageDecoder.handleProtocolIdentificationRequest(ProtocolIdentificationRequestMessage msg,
Connection sender)
Handle "Protocol Identification Request" message
|
void |
MimicNodeStore.NodeMemo.handleSimpleNodeIdentInfoReply(SimpleNodeIdentInfoReplyMessage msg,
Connection sender) |
void |
MessageDecoder.handleSimpleNodeIdentInfoReply(SimpleNodeIdentInfoReplyMessage msg,
Connection sender)
Handle "Simple Node Ident Info Reply" message
|
void |
MessageDecoder.handleSimpleNodeIdentInfoRequest(SimpleNodeIdentInfoRequestMessage msg,
Connection sender)
Handle "Simple Node Ident Info Request" message
|
void |
MessageDecoder.handleStreamDataComplete(StreamDataCompleteMessage msg,
Connection sender)
Handle "Stream Data Complete" message
|
void |
MessageDecoder.handleStreamDataProceed(StreamDataProceedMessage msg,
Connection sender)
Handle "Stream Data Proceed" message
|
void |
MessageDecoder.handleStreamDataSend(StreamDataSendMessage msg,
Connection sender)
Handle "Stream Data Send" message
|
void |
MessageDecoder.handleStreamInitReply(StreamInitReplyMessage msg,
Connection sender)
Handle "Stream Init Reply" message
|
void |
MessageDecoder.handleStreamInitRequest(StreamInitRequestMessage msg,
Connection sender)
Handle "Stream Init Request" message
|
void |
MessageDecoder.handleVerifiedNodeIDNumber(VerifiedNodeIDNumberMessage msg,
Connection sender)
Handle "Verified Node ID Number" message
|
void |
MessageDecoder.handleVerifyNodeIDNumber(VerifyNodeIDNumberMessage msg,
Connection sender)
Handle "Verify Node ID Number" message
|
void |
MimicNodeStore.put(Message msg,
Connection sender) |
void |
MessageDecoder.put(Message msg,
Connection sender)
Process message.
|
void |
Connection.put(Message msg,
Connection sender)
Put a message to this connection.
|
abstract void |
AbstractConnection.put(Message msg,
Connection sender)
Put a message to this connection.
|
void |
Gateway.registerEast(Connection c) |
void |
Gateway.registerWest(Connection c) |
protected void |
Gateway.sendMessageToEast(Message msg,
Connection sender) |
protected void |
Gateway.sendMessageToWest(Message msg,
Connection sender) |
(package private) void |
SimpleNodeIdent.start(Connection connection) |
(package private) void |
ProtocolIdentification.start(Connection connection) |
Constructor and Description |
---|
ConfigurationPortal(NodeID node,
Connection connection) |
MimicNodeStore(Connection connection,
NodeID node) |
SingleLinkNode(NodeID node,
Connection connection) |
Modifier and Type | Class and Description |
---|---|
class |
BlueGoldEngine
Example of a OpenLCB algorithm for doing configuration with
small number of buttons.
|
class |
BlueGoldExtendedEngine
Example of a OpenLCB algorithm for doing configuration with
small number of buttons.
|
class |
DatagramMeteringBuffer
Accepts Datagrams over a Connection from "upstream", and meters them out
to "downstream" nodes (e.g. on a CAN network), one at a time.
|
(package private) class |
DatagramMeteringBuffer.MessageMemo |
(package private) class |
DatagramMeteringBuffer.ReplyHandler |
class |
DatagramReceiver
Example of receiving a OpenLCB datagram.
|
class |
DatagramService
Service for sending and receiving data via datagrams.
|
class |
DatagramTransmitter
Example of sending a OpenLCB datagram.
|
class |
EventFilterGateway
Gateway that filters event messages that aren't needed.
|
(package private) class |
EventFilterGateway.EastConnection |
(package private) class |
EventFilterGateway.WestConnection |
(package private) class |
ScatterGather.SingleConnection |
class |
SingleConsumer
Example of a OpenLCB node that consumes one Event.
|
class |
SingleConsumerNode
Example of a OpenLCB node that consumes one Event.
|
class |
SingleProducer
Example of a producer component which can be grouped within
some larger Node to function.
|
class |
SingleProducerNode
Example of a OpenLCB node that produces one Event.
|
class |
StreamReceiver
Example of receiving a OpenLCB stream.
|
class |
StreamTransmitter
Example of sending a OpenLCB stream.
|
Modifier and Type | Field and Description |
---|---|
(package private) Connection |
BlueGoldEngine.c |
(package private) Connection |
StreamTransmitter.connection |
(package private) Connection |
StreamReceiver.connection |
(package private) Connection |
DatagramTransmitter.connection |
(package private) Connection |
DatagramReceiver.connection |
(package private) Connection |
DatagramService.downstream |
(package private) Connection |
DatagramService.ReplyMemo.downstream |
(package private) Connection |
DatagramMeteringBuffer.fromDownstream |
(package private) Connection |
DatagramMeteringBuffer.toDownstream |
(package private) Connection |
DatagramMeteringBuffer.MessageMemo.toDownstream |
(package private) Connection |
DatagramMeteringBuffer.MessageMemo.toUpstream |
Modifier and Type | Field and Description |
---|---|
(package private) ArrayList<Connection> |
ScatterGather.registeredConnections |
Modifier and Type | Method and Description |
---|---|
Connection |
DatagramMeteringBuffer.connectionForRepliesFromDownstream()
This is where e.g. replies from the OpenLCB
network should be returned to.
|
Connection |
ScatterGather.getConnection()
Provide a connection object for use by
a Node
|
Connection |
EventFilterGateway.getEastConnection()
Provide a connection object for use by
the East node.
|
Connection |
EventFilterGateway.getWestConnection()
Provide a connection object for use by
the West node.
|
Modifier and Type | Method and Description |
---|---|
void |
EventFilterGateway.EastConnection.handleConsumerIdentified(ConsumerIdentifiedMessage msg,
Connection sender) |
void |
EventFilterGateway.WestConnection.handleConsumerIdentified(ConsumerIdentifiedMessage msg,
Connection sender) |
void |
DatagramService.handleDatagram(DatagramMessage msg,
Connection sender)
Handle "Datagram" message from layout
|
void |
DatagramReceiver.handleDatagram(DatagramMessage msg,
Connection sender)
Handle "Datagram" message
|
void |
DatagramTransmitter.handleDatagramAcknowledged(DatagramAcknowledgedMessage msg,
Connection sender)
Handle "Datagram Acknowledged" message
|
void |
DatagramService.handleDatagramAcknowledged(DatagramAcknowledgedMessage msg,
Connection sender)
Handle positive datagram reply message from layout
|
void |
DatagramMeteringBuffer.MessageMemo.handleDatagramAcknowledged(DatagramAcknowledgedMessage msg,
Connection sender)
Handle "Datagram Acknowledged" message
|
void |
DatagramTransmitter.handleDatagramRejected(DatagramRejectedMessage msg,
Connection sender)
Handle "Datagram Rejected" message
|
void |
DatagramService.handleDatagramRejected(DatagramRejectedMessage msg,
Connection sender)
Handle negative datagram reply message from layout
|
void |
DatagramMeteringBuffer.MessageMemo.handleDatagramRejected(DatagramRejectedMessage msg,
Connection sender)
Handle "Datagram Rejected" message
|
void |
BlueGoldExtendedEngine.handleLearnEvent(LearnEventMessage msg,
Connection sender) |
void |
BlueGoldEngine.handleLearnEvent(LearnEventMessage msg,
Connection sender) |
void |
SingleConsumerNode.handleProducerConsumerEventReport(ProducerConsumerEventReportMessage msg,
Connection sender)
Receive ProducerConsumerEventReport messages,
recording when it's proper event
|
void |
EventFilterGateway.EastConnection.handleProducerConsumerEventReport(ProducerConsumerEventReportMessage msg,
Connection sender) |
void |
EventFilterGateway.WestConnection.handleProducerConsumerEventReport(ProducerConsumerEventReportMessage msg,
Connection sender) |
void |
StreamTransmitter.handleStreamDataProceed(StreamDataProceedMessage msg,
Connection sender)
Handle "Stream Data Proceed" message
|
void |
StreamReceiver.handleStreamDataSend(StreamDataSendMessage msg,
Connection sender)
Handle "Stream Data Send" message
|
void |
StreamTransmitter.handleStreamInitReply(StreamInitReplyMessage msg,
Connection sender)
Handle "Stream Init Reply" message
|
void |
StreamReceiver.handleStreamInitRequest(StreamInitRequestMessage msg,
Connection sender)
Handle "Stream Init Request" message
|
void |
ScatterGather.SingleConnection.put(Message msg,
Connection sender) |
void |
EventFilterGateway.EastConnection.put(Message msg,
Connection sender) |
void |
EventFilterGateway.WestConnection.put(Message msg,
Connection sender) |
void |
DatagramMeteringBuffer.put(Message msg,
Connection toUpstream)
Accept a datagram message to be sent
|
void |
DatagramMeteringBuffer.ReplyHandler.put(Message msg,
Connection sender) |
void |
BlueGoldEngine.put(Message msg,
Connection sender) |
void |
ScatterGather.register(Connection c) |
Constructor and Description |
---|
DatagramMeteringBuffer(Connection toDownstream) |
DatagramReceiver(NodeID here,
NodeID far,
Connection c) |
DatagramService(NodeID here,
Connection downstream) |
DatagramTransmitter(NodeID here,
NodeID far,
int[] data,
Connection c) |
MessageMemo(DatagramMessage msg,
Connection toUpstream,
Connection toDownstream) |
ReplyMemo(DatagramMessage msg,
Connection downstream,
NodeID here,
DatagramService service) |
SingleConsumer(NodeID node,
Connection connection,
EventID eventID) |
SingleConsumerNode(NodeID node,
Connection connection,
EventID eventID) |
SingleProducer(NodeID node,
Connection connection,
EventID eventID) |
SingleProducerNode(NodeID node,
Connection connection,
EventID eventID) |
StreamReceiver(NodeID here,
NodeID far,
Connection c) |
StreamTransmitter(NodeID here,
NodeID far,
int bufferSize,
int[] bytes,
Connection c) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodeCache<T>
Maintains a cache of nodes seen to emit a particular EventID.
|
class |
TrainNodeCache
Maintain a cache of Train objects on OpenLCB network
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractNodeCache.handleProducerConsumerEventReport(ProducerConsumerEventReportMessage msg,
Connection sender) |
Modifier and Type | Class and Description |
---|---|
class |
DccProxyCache
Maintain a cache of Train objects on OpenLCB network
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
MonPane.InputLink
Captive class to capture data.
|
(package private) class |
ProducerPane.InputLink
Captive class to capture data.
|
Modifier and Type | Method and Description |
---|---|
Connection |
ProducerPane.getConnection() |
Connection |
MonPane.getConnection() |
Modifier and Type | Method and Description |
---|---|
void |
ProducerPane.InputLink.put(Message msg,
Connection sender) |
void |
MonPane.InputLink.put(Message msg,
Connection sender) |
Modifier and Type | Method and Description |
---|---|
void |
TreePane.initComponents(MimicNodeStore store,
Connection connection,
NodeID node,
NodeTreeRep.SelectionKeyLoader loader) |
Information on copyright, trademarks and licenses is linked here.
Site hosted by: