com.dalsemi.onewire.utils
Class OWPathElement

java.lang.Object
  |
  +--com.dalsemi.onewire.utils.OWPathElement

public class OWPathElement
extends java.lang.Object

1-Wire Network path element.

Version:
0.00, 18 September 2000

Constructor Summary
OWPathElement(OneWireContainer owcInstance, int channelNumber)
          Create a new path element
 
Method Summary
 int getChannel()
          Retrieve the channel number of this element
 OneWireContainer getContainer()
          Retrieve the container for this element
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWPathElement

public OWPathElement(OneWireContainer owcInstance,
                     int channelNumber)
Create a new path element
Parameters:
owcInstance - device that is the path element. Must implement SwitchContainer.
channelNumber - channel number the path is on
Method Detail

getContainer

public OneWireContainer getContainer()
Retrieve the container for this element
Returns:
OneWireContainer of elemement

getChannel

public int getChannel()
Retrieve the channel number of this element
Returns:
channel number of this element