jhomenet.server.hw.driver.onewire
Class OneWireContainerImpl
java.lang.Object
jhomenet.server.hw.driver.onewire.OneWireContainerImpl
- All Implemented Interfaces:
- ContainerWrapper<OneWireContainer>
public class OneWireContainerImpl
- extends java.lang.Object
- implements ContainerWrapper<OneWireContainer>
This class acts as a wrapper around the actual 1-Wire container implementation. This
class is needed in order for the 1-Wire container object to conform to the requirements
for the jHomenet hardware driver framework.
Id: $Id: $
- Author:
- Dave Irwin (jhomenet at gmail dot com)
Constructor Summary |
OneWireContainerImpl(DSPortAdapter onewireAdapter,
OneWireContainer containerRef)
Default constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneWireContainerImpl
public OneWireContainerImpl(DSPortAdapter onewireAdapter,
OneWireContainer containerRef)
- Default constructor.
- Parameters:
onewireAdapter
- Reference to the 1-Wire adaptercontainerRef
- Reference to the actual 1-Wire container object
getDescription
public final java.lang.String getDescription()
- See Also:
jhomenet.commons.hw.driver.IContainer#getDescription()
getAddressAsString
public final java.lang.String getAddressAsString()
- See Also:
jhomenet.commons.hw.driver.IContainer#getAddressAsString()
getName
public final java.lang.String getName()
- See Also:
jhomenet.commons.hw.driver.IContainer#getName()
getContainerImplementation
public final OneWireContainer getContainerImplementation()
- Description copied from interface:
ContainerWrapper
- Get a reference to the actual container implementation.
- Specified by:
getContainerImplementation
in interface ContainerWrapper<OneWireContainer>
- Returns:
- A reference to the actual container implementation
- See Also:
ContainerWrapper.getContainerImplementation()
Copyright © 2004-2007 David Irwin. All Rights Reserved.