Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cnrg.itx.datax
Interface Properties

All Known Subinterfaces:
  Destination, Source

All Known Implementing Classes:
  Connection, Channel

public abstract interface Properties

Interface that exports the setting and getting of properties on a device.

Method Summary
`PropertiesCollection` | `getProperties()` Interface to return a collection of properties supported by the device.
`void` | `setPeerProperties(PropertiesCollection pc)` Interface to set the given properties collection into the device.
`void` | `setProperties(PropertiesCollection pc)` Interface to set the given properties collection into the device.

Method Detail

### getProperties

    public PropertiesCollection getProperties()
                                       throws DataException

  Interface to return a collection of properties supported by the device.
  Throws:
    DataException - thrown when the properties in the device are incompatible

### setProperties

    public void setProperties(PropertiesCollection pc)
                       throws DataException

  Interface to set the given properties collection into the device. Works under the assumption that the properties collection was generated LOCALLY and is a request for options.
  Throws:
    DataException - thrown when trying to set incompatible properties collections

### setPeerProperties

    public void setPeerProperties(PropertiesCollection pc)
                           throws DataException

  Interface to set the given properties collection into the device. WOrks under the assumption that this is the properties collection of the peer.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD