sophware.home.io
Class HomeReceiver

java.lang.Object
  extended by sophware.home.io.HomeReceiver
Direct Known Subclasses:
HomeTransceiver

public abstract class HomeReceiver
extends java.lang.Object

HomeReceiver is an abstract class that will receive and distribute HomeEvents to a Home.

Version:
1.0, 2/17/2006
Author:
Russell Soph
See Also:
Home, HomeEvent

Constructor Summary
HomeReceiver()
           
 
Method Summary
 Home getHome()
          Gets the HomeInterface with whom this HomeReceiver is associated
 void setHome(Home home)
          Sets the HomeInterface with whom this HomeReceiver is associated
abstract  void start()
          Starts this HomeReceiver to beging receiving HomeEvents.
abstract  void stop()
          Stop this HomeReceiver to halt receiving HomeEvents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeReceiver

public HomeReceiver()
Method Detail

start

public abstract void start()
                    throws HomeException
Starts this HomeReceiver to beging receiving HomeEvents.

Throws:
HomeException

stop

public abstract void stop()
                   throws HomeException
Stop this HomeReceiver to halt receiving HomeEvents.

Throws:
HomeException

getHome

public Home getHome()
Gets the HomeInterface with whom this HomeReceiver is associated

Returns:
the home with whom this HomeReceiver is associated

setHome

public void setHome(Home home)
Sets the HomeInterface with whom this HomeReceiver is associated

Parameters:
home - the Home with whom this HomeReceiver is associated