Developers guide

107
* @param outlet The Masterswitch outlet. This is a number between 1 and 8
* @return The String value corresponding to the outlets state. These values are defined in Masterswitch
* @exception MasterswitchException
*/
public String setOutletState(int outlet, String outletState) throws MasterswitchException;
/**
* The hardware revision of the PDU (Power Distribution Unit). This value
* is set at the factory.
* <p>
* @throws apt.masterswitch.MasterswitchException
*/
public String getHardwareRevision() throws MasterswitchException;
/**
* An 8 byte ID string identifying the PDU firmware revision.
* <p>
* @throws apt.masterswitch.MasterswitchException
*/
public String getFirmwareRevision() throws MasterswitchException;
/**
* The date when the PDU was manufactured in mm/dd/yy format.
* This value is set at the factory. The year 2000 will be
* represented by 00.
* <p>
* @throws apt.masterswitch.MasterswitchException
*/
public String getDateOfManufacture() throws MasterswitchException;
/**
* A 10-character string identifying the model number of
* the PDU internal. This value is set at the factory.
* <p>
* @throws apt.masterswitch.MasterswitchException
*/
public String getModelNumber() throws MasterswitchException;
/**
* A 12-character string identifying the serial number of
* the PDU internal microprocessor. This value is set at
* the factory.
* <p>
* @throws apt.masterswitch.MasterswitchException
*/
public String getSerialNumber() throws MasterswitchException;
/**
* Register the {@link apt.masterswitch.MasterswitchListener} object so
* that it receives events.
* <p>
* @param listener The object to receive events
* @see apt.masterswitch.MasterswitchListener
*/
public void addMasterswitchListener( MasterswitchListener listener);
/**
* Remove the {@link apt.masterswitch.MasterswitchListener} so that it no longer receives
* events
* <p>
* @param listener The object to no longer receive events
* @see apt.masterswitch.MasterswitchListener
*/
public void removeMasterswitchListener( MasterswitchListener listener );
}
F.1.2. AbstractMasterswitch.java