Package jmri.jmrix.powerline
The package structure has to take two kinds of variation into account:
- Multiple adapters, e.g. as shown on the compatibility page. Each of these has its own serial protocol, including its own message format.
- Multiple device families and types, starting with X10, but later including Insteon and perhaps others. Individual adapters might support one or several of these.
Our strategy is to use explicit interfaces for each device protocol, implemented by a polymorphic TrafficController for each adapter type.
For example, the primary
SerialTrafficController
abstract class has an interface for sending
X10Sequence objects.
An X10Sequence encapulates just the X10 commands, not
the particular message needed to send them.
When the X10Sequence is passed
to the specific SerialTrafficController implementation,
e.g. SpecificTrafficController,
it's encapsulated in one or more SpecificMessage
objects, queued and sent.
The setup is done in
SerialDriverAdapter, which keys off the
adapter name in option1.
Related Documentation
Other sources of documentation- X10.com web site (consumer oriented)
- X10.com support site
- Since:
- 2.1.1
To Do
-
ClassDescriptionRepresent a sequence of one or more Dmx commands (unit and intensity).Represent a single Dmx commandRepresent a single Dmx command, which is a unit and intensity pairRepresent a sequence of one or more Insteon commands (addresses and functions).Represent a single "set address" Insteon commandRepresent a single Insteon command, which is either a "set address" or "do function" operationRepresent a single "Extended Data" Insteon commandRepresent a single "do function" Insteon commandUtility Class supporting parsing and testing of addresses.Returns a list of valid Powerline Connection TypesInterface to send/receive serial informationImplementation of the Light Object for Powerline devices.Implement LightManager for Powerline serial systems.Listener interface to be notified about serial trafficContains the data payload of a serial packet.Abstract base for classes representing a communications port.Contains the data payload of a serial reply packet.Extend jmri.AbstractSensor for serial systemsManage the system-specific Sensor implementation.Lightweight class to denote that a system is active, and provide general information.Converts Stream-based I/O to/from messages.Turnout implementation for X10.Implement turnout manager for Powerline systems.Implementation of the Light class for X10-based subclasses.Represent a sequence of one or more X10 commands (addresses and functions).Represent a single "set address" X10 commandRepresent a single X10 command, which is either a "set address" or "do function" operationRepresent a single "Extended Data" X10 commandRepresent a single "do function" X10 command