Class X10Sequence


public class X10Sequence
extends Object
Represent a sequence of one or more X10 commands (addresses and functions).

These are X10 specific, but not device/interface specific.

A sequence should consist of addressing (1 or more), and then one or more commands. It can address multiple devices, but not more than one house-code.

House codes and devices within this class are sequential numbers (1-16 for house code, 1-16 for device code). These must be translated to line coding by other code that converts the sequence to adapter-specific messages. The encode(int) and decode(int) functions are provided to make that easier by converting to and from the standard line-code sequences, but you should check the coding of your new specific adapter before using them.