A B C D E F G H I L M N O P Q R S T U V W X

A

addAddressListener(AddressListener) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Add an X10 Address listener.
addAddressListener(AddressListener) - Method in interface com.jpeterson.x10.event.Producer
Add an AddressListener.
addAddressListener(AddressListener) - Method in class com.jpeterson.x10.module.CM11A
Add an X10 Address listener.
addCM11AListener(CM11AListener) - Method in class com.jpeterson.x10.module.CM11A
Add a CM11A event listener.
addCM11AStatusListener(CM11AStatusListener) - Method in class com.jpeterson.x10.module.CM11A
Add a CM11A status listener.
addCommand(FunctionEvent) - Method in class com.jpeterson.x10.module.Macro
Add a command for this macro to execute.
addCommand(int, FunctionEvent) - Method in class com.jpeterson.x10.module.Macro
Add a command for this macro to execute.
addCommand(int, FunctionEvent, boolean) - Method in class com.jpeterson.x10.module.Macro
Add a command for this macro to execute.
addDayOfWeek(int) - Method in class com.jpeterson.x10.module.TimerInitiator
Add a day of the week that this TimerInitiator is for.
addDevice(int) - Method in class com.jpeterson.x10.module.MacroElement
Add a device to this macro element.
addFunctionListener(FunctionListener) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Add an X10 Function listener.
addFunctionListener(FunctionListener) - Method in interface com.jpeterson.x10.event.Producer
Add a FunctionListener.
addFunctionListener(FunctionListener) - Method in class com.jpeterson.x10.module.CM11A
Add an X10 Function listener.
addGatewayListener(GatewayListener) - Method in class com.jpeterson.x10.GatewayImpl
Add a gateway listener.
addGatewayListener(GatewayListener) - Method in interface com.jpeterson.x10.Gateway
Request notifications of events related to the Gateway.
addMacroInitiator(MacroInitiator) - Method in class com.jpeterson.x10.module.CM11A
Add a macro initiator.
address - Variable in class com.jpeterson.pool.SocketObjectPool
Address of sockets in the pool.
address(AddressEvent) - Method in interface com.jpeterson.x10.event.AddressListener
 
address(AddressEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for AddressEvents.
AddressEvent - class com.jpeterson.x10.event.AddressEvent.
Address events indicate the target for a function.
AddressEvent(Object, char, int) - Constructor for class com.jpeterson.x10.event.AddressEvent
Create a new address event.
AddressListener - interface com.jpeterson.x10.event.AddressListener.
 
addTimerInitiator(TimerInitiator) - Method in class com.jpeterson.x10.module.CM11A
Add a timer initiator.
ALL_LIGHTS_OFF_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
All Lights Off Key Code - "L0"
ALL_LIGHTS_ON_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
All Lights On Key Code - "L1"
ALL_UNITS_OFF_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
All Units Off Key Code - "A0"
AllLightsOffEvent - class com.jpeterson.x10.event.AllLightsOffEvent.
All lights on the particular house code are turned off.
AllLightsOffEvent(Object, char) - Constructor for class com.jpeterson.x10.event.AllLightsOffEvent
Create a new 'All Lights Off' event.
AllLightsOnEvent - class com.jpeterson.x10.event.AllLightsOnEvent.
All lights on the particular house code are turned on.
AllLightsOnEvent(Object, char) - Constructor for class com.jpeterson.x10.event.AllLightsOnEvent
Create a new 'All Lights On' event.
allocate() - Method in class com.jpeterson.x10.GatewayImpl
Allocate a gateway.
allocate() - Method in interface com.jpeterson.x10.Gateway
Alocate the resources required for the Gateway and put it into the ALLOCATED state.
allocate() - Method in class com.jpeterson.x10.module.CM17A
Start the serial link between the computer and the actual CM11A module.
allocate() - Method in class com.jpeterson.x10.module.CM11A
Start the serial link between the computer and the actual CM11A module.
ALLOCATED - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is in the allocated state.
ALLOCATING_RESOURCES - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is being allocated - the transition state between DEALLOCATED to ALLOCATED following a call to the allocate method.
AllUnitsOffEvent - class com.jpeterson.x10.event.AllUnitsOffEvent.
All units on the particular house code are turned off
AllUnitsOffEvent(Object, char) - Constructor for class com.jpeterson.x10.event.AllUnitsOffEvent
Create a new 'All Units Off' event.
AWTGatewayQueue - class com.jpeterson.x10.AWTGatewayQueue.
The AWTGatewayQueue uses the AWT event queue to synchronize control events with all other AWT events.
AWTGatewayQueue.AWTControlEvent - class com.jpeterson.x10.AWTGatewayQueue.AWTControlEvent.
Encapsulate a control event within an AWT event.
AWTGatewayQueue.AWTControlEvent(AWTGatewayQueue, Object, ControlEvent, ControlEventDispatcher) - Constructor for class com.jpeterson.x10.AWTGatewayQueue.AWTControlEvent
Create a new AWTControlEvent to encapsulate the ControlEvent e.
AWTGatewayQueue.AWTEventSync - class com.jpeterson.x10.AWTGatewayQueue.AWTEventSync.
Component used to synch ControlEvents with the AWT event queue.
AWTGatewayQueue.AWTEventSync(AWTGatewayQueue) - Constructor for class com.jpeterson.x10.AWTGatewayQueue.AWTEventSync
Constructor just calls the parent constructor.
AWTGatewayQueue(ControlEventDispatcher) - Constructor for class com.jpeterson.x10.AWTGatewayQueue
Create a new gateway queue for processing control messages.

B

baudRate - Variable in class com.jpeterson.x10.SerialGateway
 
BinaryFormat - class com.jpeterson.util.BinaryFormat.
This class allows a number to be easily formatted as a binary number.
BinaryFormat() - Constructor for class com.jpeterson.util.BinaryFormat
Create a new BinaryFormat object with no divider.
borrowObject() - Method in class com.jpeterson.pool.SocketObjectPool
Borrow an object from the pool.
BRIGHT_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Bright Key Code - "BR"
BrightEvent - class com.jpeterson.x10.event.BrightEvent.
Brighten the previously addressed units on the same house code by the specified amount.
BrightEvent(Object, char, int, int) - Constructor for class com.jpeterson.x10.event.BrightEvent
Create a new 'Bright' event.
broadcast(String) - Method in class com.jpeterson.x10server.X10ServerStub
Send a UDP broadcast message.
broadcastSocket - Variable in class com.jpeterson.x10server.X10ServerStub
Status broadcast socket.
broken(Object) - Method in class com.jpeterson.pool.ObjectPool
Return a broken object to the pool.
byte2deviceCode(byte) - Static method in class com.jpeterson.x10.X10Util
Convert a value to it's corresponding house code.
byte2houseCode(byte) - Static method in class com.jpeterson.x10.X10Util
Convert a value to it's corresponding house code.

C

checkDayOfWeek(int) - Method in class com.jpeterson.x10.module.TimerInitiator
Check to see if a day of the week is set for this TimerInitiator.
checkIn(Object) - Method in class com.jpeterson.pool.ObjectPool
Return an object to the pool.
checkOut() - Method in class com.jpeterson.pool.ObjectPool
Retrieve an available object from the pool.
CHECKSUM_OK - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
clearDaysOfWeek() - Method in class com.jpeterson.x10.module.TimerInitiator
Clear the days of the week for this TimerInitiator.
clearMacroInitiators() - Method in class com.jpeterson.x10.module.CM11A
Clear all macro initiators.
clearTimerInitiators() - Method in class com.jpeterson.x10.module.CM11A
Clear all timer initiators.
CM11_MACRO_INITIATED - Static variable in class com.jpeterson.x10.module.CM11A
 
CM11_POWER_FAILURE - Static variable in class com.jpeterson.x10.module.CM11A
 
CM11_RECEIVE_EVENT - Static variable in class com.jpeterson.x10.module.CM11A
 
cm11A - Variable in class com.jpeterson.x10server.X10Server
X10 gateway.
CM11A - class com.jpeterson.x10.module.CM11A.
Gateway to X10 CM11A serial interface unit.
CM11A() - Constructor for class com.jpeterson.x10.module.CM11A
Construct a new CM11A object.
CM11AEvent - class com.jpeterson.x10.module.event.CM11AEvent.
 
CM11AEvent(CM11A, int) - Constructor for class com.jpeterson.x10.module.event.CM11AEvent
Create a new CM11A Event.
CM11AGateway - class com.jpeterson.x10.embedded.CM11AGateway.
This is the main object for the embedded X10 package.
CM11AGateway(String) - Constructor for class com.jpeterson.x10.embedded.CM11AGateway
Create a new CM11AGateway object.
CM11AListener - interface com.jpeterson.x10.module.event.CM11AListener.
 
CM11AMacroDownloadTransmission - class com.jpeterson.x10.module.CM11AMacroDownloadTransmission.
Create a standard CM11 transmission event to transmit.
CM11AMacroDownloadTransmission(byte[]) - Constructor for class com.jpeterson.x10.module.CM11AMacroDownloadTransmission
Create a macro download CM11 transmission event to transmit the specified packet of bytes.
CM11AStandardTransmission - class com.jpeterson.x10.module.CM11AStandardTransmission.
Create a standard CM11 transmission event to transmit.
CM11AStandardTransmission(byte[]) - Constructor for class com.jpeterson.x10.module.CM11AStandardTransmission
Create a standard CM11 transmission event to transmit the specified packet of bytes.
CM11AStatusEvent - class com.jpeterson.x10.module.event.CM11AStatusEvent.
 
CM11AStatusEvent(CM11A, int, int, int, int, int, int, char, BitSet, BitSet, BitSet) - Constructor for class com.jpeterson.x10.module.event.CM11AStatusEvent
 
CM11AStatusListener - interface com.jpeterson.x10.module.event.CM11AStatusListener.
 
CM11AStatusTransmission - class com.jpeterson.x10.module.CM11AStatusTransmission.
Create a status request.
CM11AStatusTransmission(CM11A, CM11AStatusListener) - Constructor for class com.jpeterson.x10.module.CM11AStatusTransmission
Create a standard CM11 transmission event to request the status of the monitoring performed by the CM11 interface
CM11ATransmissionEvent - interface com.jpeterson.x10.module.CM11ATransmissionEvent.
 
CM11AX10EventTransmission - class com.jpeterson.x10.module.CM11AX10EventTransmission.
Create a CM11 transmission event to transmit an X10 event.
CM11AX10EventTransmission(X10Event) - Constructor for class com.jpeterson.x10.module.CM11AX10EventTransmission
Create a CM11 transmission event to transmit the specified X10 event.
CM17A - class com.jpeterson.x10.module.CM17A.
Gateway to X10 CM17A serial interface unit.
CM17A() - Constructor for class com.jpeterson.x10.module.CM17A
Construct a new CM17A object.
CM17AStandardTransmission - class com.jpeterson.x10.module.CM17AStandardTransmission.
Encapsulates the commands to send and then sends them.
CM17AStandardTransmission(AddressEvent, OffEvent) - Constructor for class com.jpeterson.x10.module.CM17AStandardTransmission
 
CM17AStandardTransmission(AddressEvent, OnEvent) - Constructor for class com.jpeterson.x10.module.CM17AStandardTransmission
Create
CM17AStandardTransmission(BrightEvent) - Constructor for class com.jpeterson.x10.module.CM17AStandardTransmission
 
CM17AStandardTransmission(DimEvent) - Constructor for class com.jpeterson.x10.module.CM17AStandardTransmission
 
CM17ATransmissionEvent - interface com.jpeterson.x10.module.CM17ATransmissionEvent.
 
com.jpeterson.pool - package com.jpeterson.pool
 
com.jpeterson.util - package com.jpeterson.util
 
com.jpeterson.x10 - package com.jpeterson.x10
 
com.jpeterson.x10.embedded - package com.jpeterson.x10.embedded
 
com.jpeterson.x10.event - package com.jpeterson.x10.event
 
com.jpeterson.x10.module - package com.jpeterson.x10.module
 
com.jpeterson.x10.module.event - package com.jpeterson.x10.module.event
 
com.jpeterson.x10server - package com.jpeterson.x10server
 
COMMAND_HELP - Static variable in class com.jpeterson.x10server.X10ServerStub
Command to get help on possible commands.
COMMAND_QUIT - Static variable in class com.jpeterson.x10server.X10ServerStub
Command to quit, logging out of the server.
comPort - Variable in class com.jpeterson.x10server.X10ServerStub
Serial port to talk to CM11A to.
Condition - class com.jpeterson.util.Condition.
 
Condition(boolean) - Constructor for class com.jpeterson.util.Condition
Create a new condition variable in a known state.
CONTROL_EVENT_ID - Static variable in class com.jpeterson.x10.AWTGatewayQueue
 
ControlError - error com.jpeterson.x10.ControlError.
Signals that an error has occurred.
ControlError() - Constructor for class com.jpeterson.x10.ControlError
Empty constructor for ControlException with no detail message.
ControlError(String) - Constructor for class com.jpeterson.x10.ControlError
Constructs a ControlException with a detail message.
ControlEvent - class com.jpeterson.x10.ControlEvent.
The root event class for all control events.
ControlEvent(Object) - Constructor for class com.jpeterson.x10.ControlEvent
Constructs a ControlEvent with a specified source.
ControlEvent(Object, int) - Constructor for class com.jpeterson.x10.ControlEvent
Constructs a ControlEvent
ControlEventDispatcher - interface com.jpeterson.x10.ControlEventDispatcher.
Interface used by GatewayQueue to dispatch ControlEvents.
ControlException - exception com.jpeterson.x10.ControlException.
Signals that an exception has occurred.
ControlException() - Constructor for class com.jpeterson.x10.ControlException
Constructs a ControlException with no detail message.
ControlException(String) - Constructor for class com.jpeterson.x10.ControlException
Constructs a ControlException with the specified detail message.
create() - Method in class com.jpeterson.pool.ObjectPool
Called by checkOut when a new object is needed to fulfill a request.
create() - Method in class com.jpeterson.pool.SocketObjectPool
Create a new instance of a Socket.
create() - Method in class com.jpeterson.x10server.X10ServerSocketObjectPool
Create a new instance of a Socket.
createEvent(FunctionEvent, Object) - Method in class com.jpeterson.x10.module.CM11A
Create a copy of a FunctionEvent but with the specified source.
createTransmitter() - Method in class com.jpeterson.x10server.X10ServerStub
Subclasses must implement this method, creating an instance of the Transmitter interface.
createTransmitter() - Method in class com.jpeterson.x10server.X10Server
Create an instance of an CM11A object, which implements the Transmitter interface.

D

dataBits - Variable in class com.jpeterson.x10.SerialGateway
 
dayOfYear(int, int) - Static method in class com.jpeterson.x10.embedded.CM11AGateway
Convert a date in the format of month and day to day of year format.
dayOfYear(int, int) - Static method in class com.jpeterson.x10.module.CM11A
Convert a date in the format of month and day to day of year format.
deallocate() - Method in class com.jpeterson.x10.GatewayImpl
Deallocate a gateway.
deallocate() - Method in interface com.jpeterson.x10.Gateway
Free the resources of the gateway that were acquired during allocation and during operation and return the gateway to the DEALLOCATED state.
deallocate() - Method in class com.jpeterson.x10.module.CM17A
Stop the serial link between the computer and the actual CM11A module.
deallocate() - Method in class com.jpeterson.x10.module.CM11A
Stop the serial link between the computer and the actual CM11A module.
DEALLOCATED - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is in the deallocated state.
DEALLOCATING_RESOURCES - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is being deallocated - the transition state between ALLOCATED to DEALLOCATED.
decodeStatus(byte[], int, int) - Method in class com.jpeterson.x10.module.CM11A
Decode a status buffer.
DEFAULT_COM_PORT - Static variable in class com.jpeterson.x10server.X10ServerStub
Default serial port: COM2
DEFAULT_EXPIRATION - Static variable in class com.jpeterson.pool.ObjectPool
Default expiration is 30 seconds.
DEFAULT_LISTEN_PORT - Static variable in class com.jpeterson.x10server.X10ServerStub
Default listen port: 4377
DEFAULT_STATUS_ADDRESS - Static variable in class com.jpeterson.x10server.X10ServerStub
Default UDP status broadcast address: 239.6.20.71
DEFAULT_STATUS_PORT - Static variable in class com.jpeterson.x10server.X10ServerStub
Default UDP status broadcast port: 4378
deviceCode2byte(int) - Static method in class com.jpeterson.x10.X10Util
Convert a device code to it's corresponding X10 value.
DIM_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Dim Key Code - "DI"
DimEvent - class com.jpeterson.x10.event.DimEvent.
Dim the previously addressed units on the same house code by the specified amount.
DimEvent(Object, char, int, int) - Constructor for class com.jpeterson.x10.event.DimEvent
Create a new 'Dim' event.
dispatchControlEvent(ControlEvent) - Method in interface com.jpeterson.x10.ControlEventDispatcher
Dispatch ControlEvents.
dispatchControlEvent(ControlEvent) - Method in class com.jpeterson.x10.GatewayImpl
Method to actually send a GatewayEvent to registered listeners.
dispatchControlEvent(ControlEvent) - Method in class com.jpeterson.x10.module.CM17A
Calls TransmitterListener methods.
dispatchControlEvent(ControlEvent) - Method in class com.jpeterson.x10.module.CM11A
Calls TransmitterListener methods.
dispatcher - Variable in class com.jpeterson.x10.GatewayQueue
Dispatcher to process the queue messages.
downloadInitiators() - Method in class com.jpeterson.x10.module.CM11A
Transmit the CM11A macro initiators to the X10 CM11A device.

E

elements() - Method in class com.jpeterson.x10.module.Macro
Returns an enumeration of the MacroElements for this macro.
encodeEEPROM() - Method in class com.jpeterson.x10.module.CM11A
Encode the EEPROM array.
encodeMacro(Macro, int) - Method in class com.jpeterson.x10.module.CM11A
Encode a macro into the EEPROM array.
equals(Object) - Method in class com.jpeterson.x10.event.X10Event
Determines if two objects are equals.
equals(Object) - Method in class com.jpeterson.x10.module.Macro
Determine if this Macro is equal to the target object.
EXIT_INVALID_ARGUMENT - Static variable in class com.jpeterson.x10server.X10ServerStub
Exit value of '1' indicates and invalid argument.
EXIT_INVALID_LISTEN_PORT - Static variable in class com.jpeterson.x10server.X10ServerStub
Exit value of '2' indicates and invalid listent port.
EXIT_INVALID_STATUS_ADDRESS - Static variable in class com.jpeterson.x10server.X10ServerStub
Exit value of '3' indicates and invalid status address.
EXIT_INVALID_STATUS_PORT - Static variable in class com.jpeterson.x10server.X10ServerStub
Exit value of '4' indicates and invalid status port.
expire(Object) - Method in class com.jpeterson.pool.ObjectPool
Called by checkOut when an object fails validation.
expire(Object) - Method in class com.jpeterson.pool.SocketObjectPool
Clean up resources on this expired object.
EXTENDED_DATA_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Extended Data Key Code - "EX"
ExtendedCodeEvent - class com.jpeterson.x10.event.ExtendedCodeEvent.
Extended event
ExtendedCodeEvent(Object, char, byte, byte) - Constructor for class com.jpeterson.x10.event.ExtendedCodeEvent
Create a new 'Extended Code' event.
ExtendedDataTransferEvent - class com.jpeterson.x10.event.ExtendedDataTransferEvent.
Extended data transfer for addressed units on the same house code.
ExtendedDataTransferEvent(Object, char) - Constructor for class com.jpeterson.x10.event.ExtendedDataTransferEvent
Create a new 'Extended Data Transfer' event.
extractDay(int) - Static method in class com.jpeterson.x10.module.CM11A
Utility method to convert the Julian day returned in getJulianDay to a the day of the month represented.
extractMonth(int) - Static method in class com.jpeterson.x10.module.CM11A
Utility method to convert the Julian day returned in getJulianDay to the month the day represents.

F

fireCM11AEvent(CM11AEvent) - Method in class com.jpeterson.x10.module.CM11A
Fire a CM11A event.
fireCM11AStatusEvent(CM11AStatusEvent) - Method in class com.jpeterson.x10.module.CM11A
Fire a CM11A status event.
fireControlEvent(ControlEvent) - Method in class com.jpeterson.x10.GatewayImpl
Queues ControlEvent on registered GatewayQueue for subsequent dispatch to registered gateway listeners.
fireX10Event(X10Event) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Fire an X10 Transmission.
fireX10Event(X10Event) - Method in class com.jpeterson.x10.module.CM11A
Fire an X10 Transmission.
format(byte) - Method in class com.jpeterson.util.BinaryFormat
Format a byte, returning an 8 bit binary number.
format(byte) - Method in class com.jpeterson.util.HexFormat
Format a byte, returning an 8 bit hex number.
format(byte[]) - Method in class com.jpeterson.util.BinaryFormat
Format an array of bytes, returning 8 bits per byte.
format(byte[]) - Method in class com.jpeterson.util.HexFormat
Format an array of bytes, returning 8 bits per byte.
format(byte[], StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format an array of bytes, returning 8 bits per bytes.
format(byte[], StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format an array of bytes, returning 8 bits per bytes.
format(byte, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format a byte, returning an 8 bit binary number.
format(byte, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format a byte, returning an 8 bit hex number.
format(int) - Method in class com.jpeterson.util.BinaryFormat
Format an int value, returning a 32 bit binary number.
format(int) - Method in class com.jpeterson.util.HexFormat
Format an int value, returning a 32 bit hexadecimal number.
format(int, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format an int value, returning a 32 bit binary number.
format(int, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format an int value, returning a 32 bit hexadecimal number.
format(long) - Method in class com.jpeterson.util.BinaryFormat
Format a long value, returning a 64 bit binary number.
format(long) - Method in class com.jpeterson.util.HexFormat
Format a long value, returning a 64 bit hexadecimal number.
format(long, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format a long value, returning a 64 bit binary number.
format(long, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format a long value, returning a 64 bit hexadecimal number.
format(Object, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format an object in a binary representation.
format(Object, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format an object in a hexadecimal representation.
format(short) - Method in class com.jpeterson.util.BinaryFormat
Format a short value, returning a 16 bit binary number.
format(short) - Method in class com.jpeterson.util.HexFormat
Format a short value, returning a 16 bit hexadecimal number.
format(short, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.BinaryFormat
Format a short value, returning a 16 bit binary number.
format(short, StringBuffer, FieldPosition) - Method in class com.jpeterson.util.HexFormat
Format a short value, returning a 16 bit hexadecimal number.
FunctionAdapter - class com.jpeterson.x10.event.FunctionAdapter.
Trivial implementation of the FunctionListener interface that receives a FunctionEvent.
FunctionAdapter() - Constructor for class com.jpeterson.x10.event.FunctionAdapter
Constructor does nothing.
functionAllLightsOff(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionAllLightsOff(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"All Lights Off" command.
functionAllLightsOff(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for All Lights Off function.
functionAllLightsOn(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionAllLightsOn(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"All Lights On" command.
functionAllLightsOn(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for All Lights On function.
functionAllUnitsOff(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionAllUnitsOff(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"All Units Off" command.
functionAllUnitsOff(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for All Units Off function.
functionBright(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionBright(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Bright" command.
functionBright(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Bright function.
functionDim(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionDim(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Dim" command.
functionDim(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Dim function.
FunctionEvent - class com.jpeterson.x10.event.FunctionEvent.
Function events indicate some action to take upon the previously addressed devices that match this functions house code.
FunctionEvent(Object, int, boolean, char, byte, int) - Constructor for class com.jpeterson.x10.event.FunctionEvent
Create a new function event.
FunctionEvent(Object, int, char, byte, int) - Constructor for class com.jpeterson.x10.event.FunctionEvent
Create a new function event.
functionHailAcknowledge(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionHailAcknowledge(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Hail Acknowledge" command.
functionHailAcknowledge(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Hail Acknowledge function.
functionHailRequest(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionHailRequest(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"HailRequest" command.
functionHailRequest(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Hail Request function.
FunctionListener - interface com.jpeterson.x10.event.FunctionListener.
 
functionOff(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionOff(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Off" command.
functionOff(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Off function.
functionOn(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionOn(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"On" command.
functionOn(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for On function.
functionPresetDim1(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionPresetDim1(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Preset Dim 1" command.
functionPresetDim1(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Preset Dim 1 function.
functionPresetDim2(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionPresetDim2(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Preset Dim 2" command.
functionPresetDim2(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Preset Dim 2 function.
functionStatusOff(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionStatusOff(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Status Off" command.
functionStatusOff(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Status Off function.
functionStatusOn(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionStatusOn(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Status On" command.
functionStatusOn(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Status On function.
functionStatusRequest(FunctionEvent) - Method in interface com.jpeterson.x10.event.FunctionListener
 
functionStatusRequest(FunctionEvent) - Method in class com.jpeterson.x10.event.FunctionAdapter
"Status Request" command.
functionStatusRequest(FunctionEvent) - Method in class com.jpeterson.x10server.X10ServerStub
Listener for Status Request function.

G

Gateway - interface com.jpeterson.x10.Gateway.
 
GATEWAY_ALLOCATED - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway allocation is complete.
GATEWAY_ALLOCATING_RESOURCES - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway allocation has commenced.
GATEWAY_DEALLOCATED - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway deallocation is complete.
GATEWAY_DEALLOCATING_RESOURCES - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway deallocation has commenced.
GATEWAY_ERROR - Static variable in class com.jpeterson.x10.GatewayErrorEvent
Identifier for event issued when gateway error occurs.
GATEWAY_PAUSED - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway is paused.
GATEWAY_RESUMED - Static variable in class com.jpeterson.x10.GatewayEvent
Identifier for event issued when gateway is resumed.
GatewayAdapter - class com.jpeterson.x10.GatewayAdapter.
Trivial implementation of the GatewayListener interface that receives a GatewayEvent.
GatewayAdapter() - Constructor for class com.jpeterson.x10.GatewayAdapter
Constructor does nothing.
gatewayAllocated(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway has been allocated.
gatewayAllocated(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway has been allocated.
gatewayAllocatingResources(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway is being allocated.
gatewayAllocatingResources(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway is being allocated.
gatewayDeallocated(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway has been deallocated.
gatewayDeallocated(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway has been deallocated.
gatewayDeallocatingResources(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway is being deallocated.
gatewayDeallocatingResources(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway is being deallocated.
gatewayError(GatewayErrorEvent) - Method in class com.jpeterson.x10.GatewayAdapter
A GatewayErrorEvent has occurred and the Gateway is unable to continue normal operation.
gatewayError(GatewayErrorEvent) - Method in interface com.jpeterson.x10.GatewayListener
An GatewayErrorEvent has occurred and the Gateway is unable to continue normal operation.
GatewayErrorEvent - class com.jpeterson.x10.GatewayErrorEvent.
GatewayErrorEvent is an asynchronous notification of an internal error in the gateway which prevents normal behavior of that gateway.
GatewayErrorEvent(Gateway, int, Throwable, long, long) - Constructor for class com.jpeterson.x10.GatewayErrorEvent
Constructs a GatewayErrorEvent with an event identifier, throwable, old gateway state and new gateway state.
GatewayEvent - class com.jpeterson.x10.GatewayEvent.
GatewayEvent notifies changes in state of a gateway that transmits or receives.
GatewayEvent(Gateway, int, long, long) - Constructor for class com.jpeterson.x10.GatewayEvent
Constructs an GatewayEvent with an event identifier, old gateway state and new gateway state.
GatewayException - exception com.jpeterson.x10.GatewayException.
Signals that an error occurred while trying to create or access a gateway object.
GatewayException() - Constructor for class com.jpeterson.x10.GatewayException
Construct a GatewayException with no detail message.
GatewayException(String) - Constructor for class com.jpeterson.x10.GatewayException
Construct a GatewayException with a detail message.
GatewayImpl - class com.jpeterson.x10.GatewayImpl.
Base GatewayImpl.
GatewayImpl() - Constructor for class com.jpeterson.x10.GatewayImpl
 
GatewayListener - interface com.jpeterson.x10.GatewayListener.
Interface defining methods to be called when state-change events for a gateway occur.
gatewayListeners - Variable in class com.jpeterson.x10.GatewayImpl
 
gatewayPaused(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway has been paused.
gatewayPaused(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway has been paused.
gatewayQueue - Variable in class com.jpeterson.x10.GatewayImpl
 
GatewayQueue - class com.jpeterson.x10.GatewayQueue.
Base abstract queue management class for X10 ControlEvents.
GatewayQueue(ControlEventDispatcher) - Constructor for class com.jpeterson.x10.GatewayQueue
Create a new gateway queue for processing control messages.
gatewayResumed(GatewayEvent) - Method in class com.jpeterson.x10.GatewayAdapter
The Gateway has been resumed.
gatewayResumed(GatewayEvent) - Method in interface com.jpeterson.x10.GatewayListener
The Gateway has been resumed.
GatewayState - class com.jpeterson.x10.GatewayState.
Contains the value of the gateway state.
GatewayState() - Constructor for class com.jpeterson.x10.GatewayState
Create a new GatewayState object.
GatewayStateError - error com.jpeterson.x10.GatewayStateError.
Signals an error caused by an illegal call to a method of a gateway.
GatewayStateError() - Constructor for class com.jpeterson.x10.GatewayStateError
Construct a GatewayStateError with no detail message.
GatewayStateError(String) - Constructor for class com.jpeterson.x10.GatewayStateError
Construct a GatewayStateError with a detail message.
get() - Method in class com.jpeterson.x10.embedded.X10Queue
Get an element from the beginning of the queue.
getBatteryUsage() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of what the current battery usage is.
getBatteryUsage() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
The CM11A's idea of what the current battery usage is.
getBaudRate() - Method in class com.jpeterson.x10.SerialGateway
Get the serial port communication rate.
getBrightenFirst() - Method in class com.jpeterson.x10.module.MacroElement
Determine the functions preference for brightening first before dimming.
getBytes() - Method in class com.jpeterson.x10.module.MacroElement
Get the byte array representing this macro element.
getBytes() - Method in class com.jpeterson.x10.module.Macro
Get the byte array representing this macro and all of its macro elements.
getBytes(int) - Method in class com.jpeterson.x10.module.MacroInitiator
Get the byte array representing this macro initiator.
getBytes(int, int) - Method in class com.jpeterson.x10.module.TimerInitiator
Get the byte array representing this macro initiator.
getChecksum() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the checksum of the bytes in the message or the X10 transmission.
getChecksum() - Method in class com.jpeterson.x10.module.CM11AStandardTransmission
Retrieve the checksum of the bytes in the message or the X10 transmission.
getChecksum() - Method in class com.jpeterson.x10.module.CM11AMacroDownloadTransmission
Retrieve the checksum of the bytes in the message or the X10 transmission.
getCommand() - Method in class com.jpeterson.x10.event.ExtendedCodeEvent
Retrieve the command byte.
getControlEvent() - Method in class com.jpeterson.x10.AWTGatewayQueue.AWTControlEvent
Retrieve the encapsulated control event.
getCurrentDay() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of what the current day is.
getCurrentDay() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Retrieve the CM11A's idea of what the current day is.
getData() - Method in class com.jpeterson.x10.event.ExtendedCodeEvent
Retrieve the data byte.
getDataBits() - Method in class com.jpeterson.x10.SerialGateway
Get the number of data bits to use.
getDaysOfWeek() - Method in class com.jpeterson.x10.module.TimerInitiator
Retrieve an array of the weekdays set for this TimerInitiator.
getDevice() - Method in class com.jpeterson.x10.module.MacroInitiator
Return the device number assigned to this MacroInitiator.
getDeviceByte(int) - Static method in class com.jpeterson.x10.module.CM17AStandardTransmission
Get the byte representing the device code.
getDeviceCode() - Method in class com.jpeterson.x10.event.AddressEvent
Retrieve the device code.
getDevices() - Method in class com.jpeterson.x10.module.MacroElement
Retrieve an array of devices for this macro element.
getDimMax() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the maximum number of dims in the event.
getDims() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the number of dims in the event.
getDimStatus() - Method in class com.jpeterson.x10.module.CM11A
Indication of the dim status as the CM11A sees it for the monitored house code.
getDimStatus() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Indication of the dim status as the CM11A sees it for the monitored house code.
getDispatcher() - Method in class com.jpeterson.x10.GatewayQueue
Retrieve the assigned ControlEventDispatcher.
getDivider() - Method in class com.jpeterson.util.BinaryFormat
Get the string used to seperate bits.
getEvent() - Method in class com.jpeterson.x10.module.CM11AX10EventTransmission
Retrieve the X10 event
getEventCode() - Method in class com.jpeterson.x10.InterruptedTransmissionException
Retrieve the event code of the event that interrupted the transmission.
getExpiration() - Method in class com.jpeterson.pool.ObjectPool
Get the expiration for objects in the pool.
getFunction() - Method in class com.jpeterson.x10.event.FunctionEvent
Retrieve the function.
getFunction() - Method in class com.jpeterson.x10.module.MacroInitiator
Return the function assigned to this MacroInitiator.
getFunction() - Method in class com.jpeterson.x10.module.MacroElement
Get the function event for this macro element.
getGatewayError() - Method in class com.jpeterson.x10.GatewayErrorEvent
Return the Throwable object (Exception or Error) that describes the gateway problem.
getGatewayQueue() - Method in class com.jpeterson.x10.GatewayImpl
Retrieve the gateway queue used to process ControlEvents sent by the method fireControlEvent.
getGatewayState() - Method in class com.jpeterson.x10.GatewayImpl
Returns a or'ed set of flags indicating the current state of a Gateway.
getGatewayState() - Method in interface com.jpeterson.x10.Gateway
Returns a OR'ed set of flags indicating the current state of a Gateway.
getHandler() - Method in class com.jpeterson.x10.AWTGatewayQueue.AWTControlEvent
Retrieve the handler for the event.
getHiNibble() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the high nibble of the 'code' portion of the packet.
getHours() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of what the current hour is.
getHours() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
The CM11A's idea of what the current hour is.
getHouseByte(char) - Static method in class com.jpeterson.x10.module.CM17AStandardTransmission
Get the byte representing the house code.
getHouseCode() - Method in class com.jpeterson.x10.event.FunctionEvent
Retrieve the house code.
getHouseCode() - Method in class com.jpeterson.x10.event.AddressEvent
Retrieve the house code.
getId() - Method in class com.jpeterson.x10.ControlEvent
Return the event identifier.
getJulianDay() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of the current day of the year.
getJulianDay() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Retrieve the CM11A's idea of the current day of the year.
getLastAddressedDevice() - Method in class com.jpeterson.x10.module.CM11A
Indication of the last addressed device as the CM11A sees it for the monitored house code.
getLastAddressedDevice() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Indication of the last addressed device as the CM11A sees it for the monitored house code.
getLoNibble() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the low nibble of the 'code' portion of the packet.
getMacro() - Method in class com.jpeterson.x10.module.MacroInitiator
Retrieve the macro assigned to this MacroInitiator.
getMinutes() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of what the current minute is.
getMinutes() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
The CM11A's idea of what the current minute is.
getMonitoredHouseCode() - Method in class com.jpeterson.x10.module.CM11A
Get the house code that the CM11A is configured to monitor.
getMonitoredHouseCode() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Get the house code that the CM11A is configured to monitor.
getNewGatewayState() - Method in class com.jpeterson.x10.GatewayEvent
Return the state following this GatewayEvent.
getNumAttempts() - Method in class com.jpeterson.x10.module.CM11AStandardTransmission
Retrieve the number of transmission attempts.
getNumAttempts() - Method in class com.jpeterson.x10.module.CM11AStatusTransmission
Retrieve the number of transmission attempts.
getNumAttempts() - Method in interface com.jpeterson.x10.module.CM11ATransmissionEvent
 
getOldGatewayState() - Method in class com.jpeterson.x10.GatewayEvent
Return the state prior to this GatewayEvent.
getOnOffStatus() - Method in class com.jpeterson.x10.module.CM11A
Indication of the On/Off status as the CM11A sees it for the monitored house code.
getOnOffStatus() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Indication of the On/Off status as the CM11A sees it for the monitored house code.
getPacket() - Method in class com.jpeterson.x10.event.X10Event
Retrieve the bytes that compose the X10 event.
getPacket() - Method in class com.jpeterson.x10.event.ExtendedCodeEvent
Retrieve the bytes that compose the X10 event.
getParity() - Method in class com.jpeterson.x10.SerialGateway
Get the serial port parity.
getPortName() - Method in class com.jpeterson.x10.SerialGateway
Get the serial port to use.
getPowerFailureAutoRecover() - Method in class com.jpeterson.x10.module.CM11A
Determine if this CM11A object has been configured to auto recover upon sensing a power failure at the CM11A device.
getSeconds() - Method in class com.jpeterson.x10.module.CM11A
Retrieve the CM11A's idea of what the current second is.
getSeconds() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
The CM11A's idea of what the current second is.
getStartDay() - Method in class com.jpeterson.x10.module.TimerInitiator
Retrieve the start day for this TimerInitiator.
getStartHour() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the start hour for this TimerInitiator.
getStartMacro() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the start macro.
getStartMinute() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the start minute for this TimerInitiator.
getStartMonth() - Method in class com.jpeterson.x10.module.TimerInitiator
Retrieve the start month for this TimerInitiator.
getState() - Method in class com.jpeterson.x10.GatewayState
Get the gateway state.
getStopBits() - Method in class com.jpeterson.x10.SerialGateway
Get the serial port stop bits.
getStopDay() - Method in class com.jpeterson.x10.module.TimerInitiator
Retrieve the stop day for this TimerInitiator.
getStopHour() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the stop hour for this TimerInitiator.
getStopMacro() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the stop macro.
getStopMinute() - Method in class com.jpeterson.x10.module.TimerInitiator
Get the stop minute for this TimerInitiator.
getStopMonth() - Method in class com.jpeterson.x10.module.TimerInitiator
Retrieve the stop month for this TimerInitiator.
getTimerOffset() - Method in class com.jpeterson.x10.module.Macro
Retrieve the macro's timer offset value.
getTopOfQueueChanged() - Method in class com.jpeterson.x10.TransmitterEvent
Return the topOfQueueChanged value.
getUpperCase() - Method in class com.jpeterson.util.HexFormat
Get upper case mode for alpha characters.

H

HAIL_ACKNOWLEDGE_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Hail Acknowledge Key Code - "HR"
HAIL_REQUEST_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Hail Request Key Code - "HR"
HailAcknowledgeEvent - class com.jpeterson.x10.event.HailAcknowledgeEvent.
Hail response for addressed units on the same house code on.
HailAcknowledgeEvent(Object, char) - Constructor for class com.jpeterson.x10.event.HailAcknowledgeEvent
Create a new 'Hail Acknowledge' event.
HailRequestEvent - class com.jpeterson.x10.event.HailRequestEvent.
Hail the addressed units on the same house code on.
HailRequestEvent(Object, char) - Constructor for class com.jpeterson.x10.event.HailRequestEvent
Create a new 'Hail Request' event.
hashCode() - Method in class com.jpeterson.x10.event.X10Event
Calculate a hash code for the event.
HexFormat - class com.jpeterson.util.HexFormat.
This class allows a number to be easily formatted as a hexadecimal number.
HexFormat() - Constructor for class com.jpeterson.util.HexFormat
Create a new HexFormat object.
houseCode2byte(char) - Static method in class com.jpeterson.x10.X10Util
Convert a house code to it's corresponding X10 value.

I

id - Variable in class com.jpeterson.x10.ControlEvent
Event identifier.
InterruptedTransmissionException - exception com.jpeterson.x10.InterruptedTransmissionException.
Indicates that a transmission was interrupted by an unsolicted event.
InterruptedTransmissionException(byte) - Constructor for class com.jpeterson.x10.InterruptedTransmissionException
Create a new exception.
isExtended() - Method in class com.jpeterson.x10.event.X10Event
Determine if the event is an extended event.
isFunction() - Method in class com.jpeterson.x10.event.X10Event
Determine if the event is a function or address event.
isLowerCase() - Method in class com.jpeterson.util.HexFormat
Is lower case mode for alpha characters in affect?
isRunning() - Method in class com.jpeterson.x10.module.CM17A
Indicates if the the interface to the CM11A is up.
isRunning() - Method in class com.jpeterson.x10.module.CM11A
Indicates if the the interface to the CM11A is up.
issueCommand(AddressEvent, FunctionEvent) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Issue a command.
isTrue() - Method in class com.jpeterson.util.Condition
See if the condition variable is true (without releasing).
isUpperCase() - Method in class com.jpeterson.util.HexFormat
Is upper case mode for alpha characters in affect?

L

listenPort - Variable in class com.jpeterson.x10server.X10ServerStub
TCP port to listen for client connections on.
locked - Variable in class com.jpeterson.pool.ObjectPool
This data element contains the objects that are currently checked out.
logical0() - Method in class com.jpeterson.x10.module.CM17A
Set the CM17A to logical '0' state.
logical1() - Method in class com.jpeterson.x10.module.CM17A
Set the CM17A to logical '1' state.

M

Macro - class com.jpeterson.x10.module.Macro.
A macro, when triggered by being initiated by a TimerInitiator or MacroInitiator, will issue X10 events.
MACRO_INITIATED - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
MACRO_INITIATED - Static variable in class com.jpeterson.x10.module.event.CM11AEvent
The CM11A received a macro initiated event.
Macro() - Constructor for class com.jpeterson.x10.module.Macro
Create a new macro with no timer offset.
Macro(int) - Constructor for class com.jpeterson.x10.module.Macro
Create a new macro.
MacroElement - class com.jpeterson.x10.module.MacroElement.
 
MacroElement() - Constructor for class com.jpeterson.x10.module.MacroElement
Provided for proper serialization.
MacroElement(FunctionEvent) - Constructor for class com.jpeterson.x10.module.MacroElement
Create a MacroElement for the provided FunctionEvent.
macroInitiated(CM11AEvent) - Method in interface com.jpeterson.x10.module.event.CM11AListener
 
MacroInitiator - class com.jpeterson.x10.module.MacroInitiator.
 
MacroInitiator() - Constructor for class com.jpeterson.x10.module.MacroInitiator
Empty constructor for serialization.
MacroInitiator(int, OffEvent) - Constructor for class com.jpeterson.x10.module.MacroInitiator
Create a new MacroInitiator that is initiated by an OffEvent recieved for the specified device for the specified house code.
MacroInitiator(int, OnEvent) - Constructor for class com.jpeterson.x10.module.MacroInitiator
Create a new MacroInitiator that is initiated by an OnEvent recieved for the specified device for the specified house code.
macroInitiators() - Method in class com.jpeterson.x10.module.CM11A
Retrieve an Enumeration of all timer initiators.
main(String[]) - Static method in class com.jpeterson.util.BinaryFormat
 
main(String[]) - Static method in class com.jpeterson.util.HexFormat
 
main(String[]) - Static method in class com.jpeterson.util.Unsigned
 
main(String[]) - Static method in class com.jpeterson.x10server.X10Server
Run a X10Server.

N

newGatewayState - Variable in class com.jpeterson.x10.GatewayEvent
Gateway state following this event.
normalizeDay(int, int) - Static method in class com.jpeterson.x10.embedded.CM11AGateway
Make sure that the day is valid.
normalizeDay(int, int) - Static method in class com.jpeterson.x10.module.CM11A
Make sure that the day is valid.
normalizeMonth(int) - Static method in class com.jpeterson.x10.embedded.CM11AGateway
Make sure that the month is valid.
normalizeMonth(int) - Static method in class com.jpeterson.x10.module.CM11A
Make sure that the month is valid.
NullGatewayQueue - class com.jpeterson.x10.NullGatewayQueue.
The NullGatewayQueue implements a null queue.
NullGatewayQueue(ControlEventDispatcher) - Constructor for class com.jpeterson.x10.NullGatewayQueue
Create a new gateway queue for processing control messages.

O

ObjectPool - class com.jpeterson.pool.ObjectPool.
Base functionality for implementating a pool of objects.
ObjectPool() - Constructor for class com.jpeterson.pool.ObjectPool
Create an ObjectPool with default expiration.
ObjectPool(long) - Constructor for class com.jpeterson.pool.ObjectPool
Create an ObjectPool with the specified expiration.
OFF_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Off Key Code - "OF"
OffEvent - class com.jpeterson.x10.event.OffEvent.
Turn the previously addressed units on the same house code off.
OffEvent(Object, char) - Constructor for class com.jpeterson.x10.event.OffEvent
Create a new 'Off' event.
oldGatewayState - Variable in class com.jpeterson.x10.GatewayEvent
Gateway state prior to this event.
ON_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
On Key Code - "ON"
OnEvent - class com.jpeterson.x10.event.OnEvent.
Turn the previously addressed units on the same house code on.
OnEvent(Object, char) - Constructor for class com.jpeterson.x10.event.OnEvent
Create a new 'On' event.
OutOfMacroMemoryException - exception com.jpeterson.x10.module.OutOfMacroMemoryException.
This exception is thrown if there are too many macro initiators and macros to fit in the memory of a device.
OutOfMacroMemoryException() - Constructor for class com.jpeterson.x10.module.OutOfMacroMemoryException
Constructs an OutOfMacroMemoryException with no specified detail message.
OutOfMacroMemoryException(String) - Constructor for class com.jpeterson.x10.module.OutOfMacroMemoryException
Constructs an OutOfMacroMemoryException with the specified detail message.

P

packet - Variable in class com.jpeterson.x10.module.CM11AStandardTransmission
 
paramString() - Method in class com.jpeterson.x10.ControlEvent
Returns a parameter string identifying this event.
paramString() - Method in class com.jpeterson.x10.GatewayEvent
Returns a parameter string identifying this event.
paramString() - Method in class com.jpeterson.x10.TransmitterEvent
Returns a parameter string identifying this event.
paramString() - Method in class com.jpeterson.x10.GatewayErrorEvent
Returns a parameter string identifying this event.
paramString() - Method in class com.jpeterson.x10.module.event.CM11AEvent
Returns a parameter string identifying the event.
paramString() - Method in class com.jpeterson.x10.module.event.CM11AStatusEvent
Returns a parameter string identifying the event.
parity - Variable in class com.jpeterson.x10.SerialGateway
 
parse(String) - Method in class com.jpeterson.util.BinaryFormat
Parse a binary number into a Number object.
parse(String) - Method in class com.jpeterson.util.HexFormat
Parse a hex number into a Number object.
parse(String, ParsePosition) - Method in class com.jpeterson.util.BinaryFormat
Parse a binary number into a Number object.
parse(String, ParsePosition) - Method in class com.jpeterson.util.HexFormat
Parse a hex number into a Number object.
parseObject(String, ParsePosition) - Method in class com.jpeterson.util.BinaryFormat
Parse a binary number, skipping leading whitespace.
parseObject(String, ParsePosition) - Method in class com.jpeterson.util.HexFormat
Parse a hexadecimal number, skipping leading whitespace.
pause() - Method in class com.jpeterson.x10.GatewayImpl
Pause a gateway.
pause() - Method in interface com.jpeterson.x10.Gateway
Pause the event transmission for the gateway and put the Gateway into the PAUSED state.
PAUSED - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is in the ALLOCATED state and is PAUSED.
POLL_ACK - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
POLL_REQ - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
port - Variable in class com.jpeterson.pool.SocketObjectPool
Port of sockets in the pool.
portName - Variable in class com.jpeterson.x10.SerialGateway
 
post(ControlEvent) - Method in class com.jpeterson.x10.GatewayQueue
Put an event on the queue.
post(ControlEvent) - Method in class com.jpeterson.x10.NullGatewayQueue
Put an event on the queue for subsequent processing by the dispatcher.
post(ControlEvent) - Method in class com.jpeterson.x10.AWTGatewayQueue
Put an event on the AWT event queue for subsequent processing by the dispatcher.
POWER_FAILURE - Static variable in class com.jpeterson.x10.module.event.CM11AEvent
The CM11A received a power failure event.
powerFailure(CM11AEvent) - Method in interface com.jpeterson.x10.module.event.CM11AListener
 
PRESET_DIM_1_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Preset Dim 1 Key Code - "D1"
PRESET_DIM_2_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Preset Dim 2 Key Code - "D2"
PresetDim1Event - class com.jpeterson.x10.event.PresetDim1Event.
Preset Dim 1 for addressed units on the same house code on.
PresetDim1Event(Object, char) - Constructor for class com.jpeterson.x10.event.PresetDim1Event
Create a new 'Preset Dim(1)' event.
PresetDim2Event - class com.jpeterson.x10.event.PresetDim2Event.
Preset Dim 2 for addressed units on the same house code on.
PresetDim2Event(Object, char) - Constructor for class com.jpeterson.x10.event.PresetDim2Event
Create a new 'Preset Dim(2)' event.
problem - Variable in class com.jpeterson.x10.GatewayErrorEvent
Throwable object (Exception or Error) that describes the detected gateway problem.
processEvent(AWTEvent) - Method in class com.jpeterson.x10.AWTGatewayQueue.AWTEventSync
Processes events occurring on this component.
processPendingRequests() - Method in class com.jpeterson.x10.module.CM11A
Process the input stream, handling unsolicited events.
processTransmissionQueue() - Method in class com.jpeterson.x10.module.CM17A
Process the queue of events to be processed by the CM11A.
processTransmissionQueue() - Method in class com.jpeterson.x10.module.CM11A
Process the queue of events to be processed by the CM11A.
Producer - interface com.jpeterson.x10.event.Producer.
Producers fire events to AddressListeners and FunctionListeners.
PROMPT - Static variable in class com.jpeterson.x10server.X10ServerStub
Default command prompt: '>'
put(Object) - Method in class com.jpeterson.x10.embedded.X10Queue
Put an element on the end of the queue.

Q

QUEUE_EMPTIED - Static variable in class com.jpeterson.x10.TransmitterEvent
The transmit queue of the Transmitter has emptied and the Transmitter has changed to the QUEUE_EMPTY state.
QUEUE_EMPTY - Static variable in interface com.jpeterson.x10.Transmitter
Bit of state that is set when the output queue of a Transmitter is empty.
QUEUE_NOT_EMPTY - Static variable in interface com.jpeterson.x10.Transmitter
Bit of state that is set when the speech output queue of a Transmitter is not empty.
QUEUE_UPDATED - Static variable in class com.jpeterson.x10.TransmitterEvent
The output queue has changed.
queueEmptied(TransmitterEvent) - Method in class com.jpeterson.x10.TransmitterAdapter
The transmitter output queue has emptied.
queueEmptied(TransmitterEvent) - Method in interface com.jpeterson.x10.TransmitterListener
A QUEUE_EMPTIED event has occurred indicating that the output queue of the Transmitter has emptied.
queueUpdated(TransmitterEvent) - Method in class com.jpeterson.x10.TransmitterAdapter
The output queue has changed.
queueUpdated(TransmitterEvent) - Method in interface com.jpeterson.x10.TransmitterListener
A QUEUE_UPDATED event has occurred indicating that the output queue has changed.

R

READY_REQ - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
releaseAll() - Method in class com.jpeterson.util.Condition
Release all waiting threads without setting the condition true.
releaseOne() - Method in class com.jpeterson.util.Condition
Release one waiting thread without setting the condition true.
removeAddressListener(AddressListener) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Remove an Address listener.
removeAddressListener(AddressListener) - Method in interface com.jpeterson.x10.event.Producer
Remove the first instance of the specified listener from the register list of AddressListeners.
removeAddressListener(AddressListener) - Method in class com.jpeterson.x10.module.CM11A
Remove an Address listener.
removeCM11AListener(CM11AListener) - Method in class com.jpeterson.x10.module.CM11A
Remove a CM11A event listener.
removeCM11AStatusListener(CM11AStatusListener) - Method in class com.jpeterson.x10.module.CM11A
Remove a CM11A status listener.
removeDayOfWeek(int) - Method in class com.jpeterson.x10.module.TimerInitiator
Remove a day of the week that this TimerInitiator is for.
removeDevice(int) - Method in class com.jpeterson.x10.module.MacroElement
Remove a device from this macro element.
removeElement(MacroElement) - Method in class com.jpeterson.x10.module.Macro
This method provides a way to remove a macro element from the macro.
removeFunctionListener(FunctionListener) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Remove a Function listener.
removeFunctionListener(FunctionListener) - Method in interface com.jpeterson.x10.event.Producer
Remove the first instance of the specified listener from the register list of FunctionListeners.
removeFunctionListener(FunctionListener) - Method in class com.jpeterson.x10.module.CM11A
Remove a Function listener.
removeGatewayListener(GatewayListener) - Method in class com.jpeterson.x10.GatewayImpl
Remove a gateway listener.
removeGatewayListener(GatewayListener) - Method in interface com.jpeterson.x10.Gateway
Remove a listener from this Gateway.
removeMacroInitiator(MacroInitiator) - Method in class com.jpeterson.x10.module.CM11A
Remove a macro initiator.
removeTimerInitiator(TimerInitiator) - Method in class com.jpeterson.x10.module.CM11A
Remove a timer initiator.
reset() - Method in class com.jpeterson.x10.module.CM17A
Set the CM17A to reset state.
resume() - Method in class com.jpeterson.x10.GatewayImpl
Resume a gateway.
resume() - Method in interface com.jpeterson.x10.Gateway
Put the Gateway in the RESUMED state to resume event transmission or reception for a paused gateway.
RESUMED - Static variable in interface com.jpeterson.x10.Gateway
Bit of state that is set when a Gateway is in the ALLOCATED state and is RESUMED.
returnBrokenObject(Object) - Method in class com.jpeterson.pool.SocketObjectPool
Return a broken borrowed object borrowed from a call to borrowObject.
returnObject(Object) - Method in class com.jpeterson.pool.SocketObjectPool
Return a borrowed object borrowed from a call to borrowObject.
ringDisable() - Method in class com.jpeterson.x10.module.CM11A
Disable the serial Ring Indicator signal.
ringEnable() - Method in class com.jpeterson.x10.module.CM11A
Enable the serial Ring Indicator signal.
run - Variable in class com.jpeterson.x10server.X10ServerStub
Variable used to indicate that the server is running.
run() - Method in class com.jpeterson.x10.embedded.CM11AGateway
This thread operates as the dispatch thread, dispatching X10Events to the listeners.
run() - Method in class com.jpeterson.x10.module.CM17A
Process CM11A events.
run() - Method in class com.jpeterson.x10.module.CM11A
Process CM11A events.

S

serialEvent(SerialPortEvent) - Method in class com.jpeterson.x10.embedded.CM11AGateway
This method is called when a serial event occurs.
serialEvent(SerialPortEvent) - Method in class com.jpeterson.x10.module.CM11A
Receive serial events from the CM11A module.
serialFile - Variable in class com.jpeterson.x10server.X10Server
Serialized CM11A.
SerialGateway - class com.jpeterson.x10.SerialGateway.
This class provides a base for gateway modules that are based on the serial port.
SerialGateway() - Constructor for class com.jpeterson.x10.SerialGateway
Constructor only calls parent's constructor.
setBaudRate(int) - Method in class com.jpeterson.x10.SerialGateway
Set the serial port communication rate.
setBrightenFirst(boolean) - Method in class com.jpeterson.x10.module.MacroElement
If this is a dim command, should the device be brought to 100% percent first before applying the dim, or just dim.
setClock() - Method in class com.jpeterson.x10.embedded.CM11AGateway
Set the clock to the current time.
setClock(int, int, int, int, int, int, char, boolean, boolean, boolean) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Update the CM11A interface's internal clock, set the monitored house code, reset battery timer, clear monitored statuses, and purge timer.
setClock(int, int, int, int, int, int, char, boolean, boolean, boolean) - Method in class com.jpeterson.x10.module.CM11A
Update the CM11A interface's internal clock, set the monitored house code, reset battery timer, clear monitored statuses, and purge timer.
setDataBits(int) - Method in class com.jpeterson.x10.SerialGateway
Set the number of serial port data bits to use.
setDispatcher(ControlEventDispatcher) - Method in class com.jpeterson.x10.GatewayQueue
Assign a dispatcher.
setDivider(String) - Method in class com.jpeterson.util.BinaryFormat
Set the string used to seperate bits.
setExpiration(long) - Method in class com.jpeterson.pool.ObjectPool
Set the expiration for objects in the pool.
setFalse() - Method in class com.jpeterson.util.Condition
Set the condition to false.
setGatewayQueue(GatewayQueue) - Method in class com.jpeterson.x10.GatewayImpl
Set the gateway queue used to process ControlEvents sent by the method fireControlEvent.
setGatewayState(long) - Method in class com.jpeterson.x10.GatewayImpl
Assign a new gateway state.
setMacro(Macro) - Method in class com.jpeterson.x10.module.MacroInitiator
Assign a macro to be initiated by this MacroInitiator.
setMaxAttempts(int) - Method in class com.jpeterson.x10.module.CM11AStandardTransmission
Set the number of transmission attempts
setMaxAttempts(int) - Method in class com.jpeterson.x10.module.CM11AStatusTransmission
Set the number of transmission attempts
setMaxAttempts(int) - Method in interface com.jpeterson.x10.module.CM11ATransmissionEvent
 
setParity(int) - Method in class com.jpeterson.x10.SerialGateway
Set the serial port parity.
setPortName(String) - Method in class com.jpeterson.x10.SerialGateway
Set the serial port to use.
setPowerFailureAutoRecover(boolean) - Method in class com.jpeterson.x10.module.CM11A
Indicate if you want the CM11A object to autorecover upon detecting a power failure.
setStartDate(int, int) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the start date for this TimerInitiator.
setStartMacro(Macro) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the start macro.
setStartTime(int, int) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the start time for this TimerInitiator.
setState(long) - Method in class com.jpeterson.x10.GatewayState
Set the gateway state.
setStopBits(int) - Method in class com.jpeterson.x10.SerialGateway
Set the serial port stop bits.
setStopDate(int, int) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the stop day for this TimerInitiator.
setStopMacro(Macro) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the stop macro.
setStopTime(int, int) - Method in class com.jpeterson.x10.module.TimerInitiator
Set the stop time for this TimerInitiator.
setTrue() - Method in class com.jpeterson.util.Condition
Set the condition to true.
setUpperCase(boolean) - Method in class com.jpeterson.util.HexFormat
Set upper case mode for alpha characters.
SIZEOF_MACRO_INITIATOR - Static variable in class com.jpeterson.x10.module.MacroInitiator
 
SIZEOF_TIMER_INITIATOR - Static variable in class com.jpeterson.x10.module.TimerInitiator
 
SocketObjectPool - class com.jpeterson.pool.SocketObjectPool.
A pool of Socket's.
SocketObjectPool(InetAddress, int) - Constructor for class com.jpeterson.pool.SocketObjectPool
Create an object pool of Socket's for the specified address and port.
SocketObjectPool(InetAddress, int, long) - Constructor for class com.jpeterson.pool.SocketObjectPool
Create an object pool of Socket's for the specified address and port with the specified expiration.
SocketObjectPool(String, int) - Constructor for class com.jpeterson.pool.SocketObjectPool
Create an object pool of Socket's for the specified hostname and port.
SocketObjectPool(String, int, long) - Constructor for class com.jpeterson.pool.SocketObjectPool
Create an object pool of Socket's for the specified hostname and port with the specified expiration.
standby() - Method in class com.jpeterson.x10.module.CM17A
Set the CM17A to standby state.
start() - Method in class com.jpeterson.x10server.X10ServerStub
Start listening for client connections.
stateTransition(long) - Method in class com.jpeterson.x10.GatewayImpl
Performs state transitions for Gateway.ALLOCATED, Gateway.ALLOCATING_RESOURCES, Gateway.DEALLOCATED, Gateway.DEALLOCATING_RESOURCES, Gateway.PAUSED, Gateway.RESUMED.
stateTransition(long) - Method in class com.jpeterson.x10.module.CM17A
Encapsulates state transition rules.
stateTransition(long) - Method in class com.jpeterson.x10.module.CM11A
Encapsulates state transition rules.
STATUS - Static variable in class com.jpeterson.x10.module.event.CM11AStatusEvent
The CM11A received a status event.
STATUS_OFF_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Status Off Key Code - "S0"
STATUS_ON_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Status On Key Code - "S1"
STATUS_REQUEST_KEY_CODE - Static variable in class com.jpeterson.x10server.X10ServerStub
Status Request Key Code - "SR"
status(CM11AStatusEvent) - Method in interface com.jpeterson.x10.module.event.CM11AStatusListener
 
statusAddress - Variable in class com.jpeterson.x10server.X10ServerStub
IP Address for UDP status broadcasts.
StatusOffEvent - class com.jpeterson.x10.event.StatusOffEvent.
Status off for addressed units on the same house code.
StatusOffEvent(Object, char) - Constructor for class com.jpeterson.x10.event.StatusOffEvent
Create a new 'Status Off' event.
StatusOnEvent - class com.jpeterson.x10.event.StatusOnEvent.
Status on for addressed units on the same house code.
StatusOnEvent(Object, char) - Constructor for class com.jpeterson.x10.event.StatusOnEvent
Create a new 'Status On' event.
statusPort - Variable in class com.jpeterson.x10server.X10ServerStub
UDP port for status broadcasts.
StatusRequestEvent - class com.jpeterson.x10.event.StatusRequestEvent.
Status request for addressed units on the same house code.
StatusRequestEvent(Object, char) - Constructor for class com.jpeterson.x10.event.StatusRequestEvent
Create a new 'Status Request' event.
stop() - Method in class com.jpeterson.x10.embedded.CM11AGateway
Stop the gateway.
stop() - Method in class com.jpeterson.x10server.X10ServerStub
Stop the running server.
stopBits - Variable in class com.jpeterson.x10.SerialGateway
 

T

testGatewayState(long) - Method in class com.jpeterson.x10.GatewayImpl
Returns true if the current gateway state matches the specified state.
testGatewayState(long) - Method in interface com.jpeterson.x10.Gateway
Returns true if the current gateway state matches the specified state.
threads - Variable in class com.jpeterson.x10server.X10ServerStub
Where worker threads stand idle.
TIME_REQ - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
timeout - Variable in class com.jpeterson.x10server.X10ServerStub
Inactivity timeout.
TIMER_DOWNLOAD - Static variable in class com.jpeterson.x10.embedded.CM11AGateway
 
TimerInitiator - class com.jpeterson.x10.module.TimerInitiator.
 
TimerInitiator() - Constructor for class com.jpeterson.x10.module.TimerInitiator
Create a new TimerInitiator.
timerInitiators() - Method in class com.jpeterson.x10.module.CM11A
Retrieve an Enumeration of all timer initiators.
toBytes(int, int, boolean) - Static method in class com.jpeterson.x10.module.CM11A
Convert an integer value to a byte array.
TooManyAttemptsException - exception com.jpeterson.x10.TooManyAttemptsException.
Indicates that too many attempts have occurred while trying to send a transmission.
TooManyAttemptsException() - Constructor for class com.jpeterson.x10.TooManyAttemptsException
Create a new exception.
TooManyAttemptsException(String) - Constructor for class com.jpeterson.x10.TooManyAttemptsException
Create a new exception with the specified message.
topOfQueueChanged - Variable in class com.jpeterson.x10.TransmitterEvent
topOfQueueChanged is true for QUEUE_UPDATED event when the top item in the output queue has changed.
toString() - Method in class com.jpeterson.x10.ControlEvent
Return a printable String.
toString() - Method in class com.jpeterson.x10.event.X10Event
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.FunctionEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.PresetDim2Event
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.DimEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.OffEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.ExtendedDataTransferEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.AddressEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.AllLightsOffEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.HailAcknowledgeEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.ExtendedCodeEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.StatusOffEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.AllUnitsOffEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.HailRequestEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.PresetDim1Event
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.AllLightsOnEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.BrightEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.OnEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.StatusRequestEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.event.StatusOnEvent
Create a string that represents the X10 event.
toString() - Method in class com.jpeterson.x10.module.CM11AStandardTransmission
Create a string representation of the transmission.
toString() - Method in class com.jpeterson.x10.module.CM11AX10EventTransmission
Create a string representation of the transmission.
toString() - Method in class com.jpeterson.x10.module.CM11AStatusTransmission
Create a string representation of the transmission.
toString() - Method in class com.jpeterson.x10.module.CM11AMacroDownloadTransmission
Create a string representation of the transmission.
transmit(InputStream, OutputStream) - Method in class com.jpeterson.x10.module.CM11AStandardTransmission
Transmit a standard CM11 command from the PC to the CM11 interface.
transmit(InputStream, OutputStream) - Method in class com.jpeterson.x10.module.CM11AStatusTransmission
Transmit a CM11 status command.
transmit(InputStream, OutputStream) - Method in interface com.jpeterson.x10.module.CM11ATransmissionEvent
 
transmit(SerialPort) - Method in class com.jpeterson.x10.module.CM17AStandardTransmission
Transmit this event to the CM17A device.
transmit(SerialPort) - Method in interface com.jpeterson.x10.module.CM17ATransmissionEvent
 
transmit(X10Event) - Method in interface com.jpeterson.x10.Transmitter
Transmit an event.
transmit(X10Event) - Method in class com.jpeterson.x10.embedded.CM11AGateway
Send an event to the CM11A device.
transmit(X10Event) - Method in class com.jpeterson.x10.module.CM17A
Implementation of Transmitter.
transmit(X10Event) - Method in class com.jpeterson.x10.module.CM11A
Implementation of Transmitter.
transmitter - Variable in class com.jpeterson.x10server.X10ServerStub
X10 gateway.
Transmitter - interface com.jpeterson.x10.Transmitter.
Implementors of this interface are typically some sort of Gateway that bridge a software model with a physical implmentation.
TransmitterAdapter - class com.jpeterson.x10.TransmitterAdapter.
Adapter that receives events associated with a Transmitter.
TransmitterAdapter() - Constructor for class com.jpeterson.x10.TransmitterAdapter
The constructor does nothing.
TransmitterEvent - class com.jpeterson.x10.TransmitterEvent.
Event issued by Transmitter to indicate a change in state or other activity.
TransmitterEvent(Transmitter, int, boolean, long, long) - Constructor for class com.jpeterson.x10.TransmitterEvent
Construct a TransmitterEvent with a specified event id and topOfQueueChanged flag.
TransmitterListener - interface com.jpeterson.x10.TransmitterListener.
An extendion to the GatewayListener interface for receiving notification of events associated with a Transmitter.

U

unlocked - Variable in class com.jpeterson.pool.ObjectPool
This data element contains the objects are available in the pool.
Unsigned - class com.jpeterson.util.Unsigned.
This class allows a number to be converted to it's unsigned value.
Unsigned() - Constructor for class com.jpeterson.util.Unsigned
 
unsigned(byte) - Static method in class com.jpeterson.util.Unsigned
Return the unsigned value of the number.
unsigned(int) - Static method in class com.jpeterson.util.Unsigned
Return the unsigned value of the number.
unsigned(short) - Static method in class com.jpeterson.util.Unsigned
Return the unsigned value of the number.
updateStatus() - Method in class com.jpeterson.x10.module.CM11A
Request the status from the CM11A interface.
updateStatus(CM11AStatusListener) - Method in class com.jpeterson.x10.module.CM11A
Request the status from the CM11A interface.
usage() - Static method in class com.jpeterson.x10server.X10Server
Print out usage information.

V

validate(Object) - Method in class com.jpeterson.pool.ObjectPool
Called by checkOut when using an object from the pool.
validate(Object) - Method in class com.jpeterson.pool.SocketObjectPool
Always returns true.
validate(Object) - Method in class com.jpeterson.x10server.X10ServerSocketObjectPool
Make sure that the X10Server is still there.

W

waitForTrue() - Method in class com.jpeterson.util.Condition
Wait (potentially forever) for the condition to become true.
waitForTrue(long) - Method in class com.jpeterson.util.Condition
Wait for the condition to become true.
waitGatewayState(long) - Method in class com.jpeterson.x10.GatewayImpl
Blocks the calling thread until the Gateway is in a specified state.
waitGatewayState(long) - Method in interface com.jpeterson.x10.Gateway
Blocks the calling thread until the Gateway is in a specified state.
workers - Variable in class com.jpeterson.x10server.X10ServerStub
max # worker threads.

X

X10_DEVICE_CODE_1 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_10 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_11 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_12 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_13 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_14 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_15 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_16 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_2 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_3 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_4 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_5 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_6 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_7 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_8 - Static variable in class com.jpeterson.x10.X10Util
 
X10_DEVICE_CODE_9 - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_ALL_LIGHTS_OFF - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_ALL_LIGHTS_ON - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_ALL_UNITS_OFF - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_BRIGHT - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_DIM - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_EXTENDED_CODE - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_EXTENDED_DATA_TRANSFER - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_HAIL_ACKNOWLEDGE - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_HAIL_REQUEST - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_OFF - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_ON - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_PRESET_DIM_1 - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_PRESET_DIM_2 - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_STATUS_OFF - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_STATUS_ON - Static variable in class com.jpeterson.x10.X10Util
 
X10_FUNCTION_STATUS_REQUEST - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_A - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_B - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_C - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_D - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_E - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_F - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_G - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_H - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_I - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_J - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_K - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_L - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_M - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_N - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_O - Static variable in class com.jpeterson.x10.X10Util
 
X10_HOUSE_CODE_P - Static variable in class com.jpeterson.x10.X10Util
 
X10Event - class com.jpeterson.x10.event.X10Event.
An X10 event represents an X10 transmission packet.
X10Event(Object, boolean, byte, byte) - Constructor for class com.jpeterson.x10.event.X10Event
Create an X10 event.
X10Event(Object, int, boolean, boolean, byte, byte, int) - Constructor for class com.jpeterson.x10.event.X10Event
Create an X10 event, specifying all parameters.
X10Queue - class com.jpeterson.x10.embedded.X10Queue.
Implements a simple FIFO queue.
X10Queue() - Constructor for class com.jpeterson.x10.embedded.X10Queue
Create a new queue with an initial capacity of 20.
X10Queue(int) - Constructor for class com.jpeterson.x10.embedded.X10Queue
Create a new queue with the specified initial capacity.
X10Server - class com.jpeterson.x10server.X10Server.
This class implements an X10 service as a network controllable device by utilizing a CM11A device and the X10 Java interface.
X10Server(String, int, InetAddress, int, String) - Constructor for class com.jpeterson.x10server.X10Server
Create a new X10Server.
X10ServerSocketObjectPool - class com.jpeterson.x10server.X10ServerSocketObjectPool.
A pool of Socket's for X10Server's
X10ServerSocketObjectPool(InetAddress, int) - Constructor for class com.jpeterson.x10server.X10ServerSocketObjectPool
Create an object pool of Socket's for the specified address and port.
X10ServerSocketObjectPool(InetAddress, int, long) - Constructor for class com.jpeterson.x10server.X10ServerSocketObjectPool
Create an object pool of Socket's for the specified address and port with the specified expiration.
X10ServerSocketObjectPool(String, int) - Constructor for class com.jpeterson.x10server.X10ServerSocketObjectPool
Create an object pool of Socket's for the specified hostname and port.
X10ServerSocketObjectPool(String, int, long) - Constructor for class com.jpeterson.x10server.X10ServerSocketObjectPool
Create an object pool of Socket's for the specified hostname and port with the specified expiration.
X10ServerStub - class com.jpeterson.x10server.X10ServerStub.
This class implements an X10 service as a network controllable device by utilizing a CM11A device and the X10 Java interface.
X10ServerStub(int, InetAddress, int, String) - Constructor for class com.jpeterson.x10server.X10ServerStub
Create a new X10ServerStub
X10Util - class com.jpeterson.x10.X10Util.
Utility classes to support X10 classes.
X10Util() - Constructor for class com.jpeterson.x10.X10Util
 

A B C D E F G H I L M N O P Q R S T U V W X