sophware.home.net
Class NetworkHomeTransceiver

java.lang.Object
  extended by sophware.home.io.HomeReceiver
      extended by sophware.home.io.HomeTransceiver
          extended by sophware.home.net.NetworkHomeTransceiver
All Implemented Interfaces:
HomeTransmitter

public class NetworkHomeTransceiver
extends HomeTransceiver

HomeNetworkTransceiver used to interface to a HomeNetworkServer

Version:
1.0, 03/02/07
Author:
Russell Soph
See Also:
HomeTransceiver, NetworkHomeServer

Constructor Summary
NetworkHomeTransceiver()
          Instantiates a HomeNetworkTransceiver that communicates with a remote NetworkHomeServer
 
Method Summary
 void process(HomeCommandStatus status)
           
 void start()
          Starts processing of commands/events for this HomeNetworkTransceiver
 void stop()
          Stops processing of commands/events for this HomeNetworkTransceiver
 int transmit(HomeCommand command)
          Transmits the given command to the remote HomeNetworkServer
 
Methods inherited from class sophware.home.io.HomeReceiver
getHome, setHome
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkHomeTransceiver

public NetworkHomeTransceiver()
Instantiates a HomeNetworkTransceiver that communicates with a remote NetworkHomeServer

Method Detail

start

public void start()
           throws HomeException
Starts processing of commands/events for this HomeNetworkTransceiver

Specified by:
start in interface HomeTransmitter
Specified by:
start in class HomeTransceiver
Throws:
HomeException

transmit

public int transmit(HomeCommand command)
             throws HomeException
Transmits the given command to the remote HomeNetworkServer

Parameters:
command - the HomeCommand to be transmitted
Returns:
the request ID associated with this transmission.
Throws:
HomeException

process

public void process(HomeCommandStatus status)

stop

public void stop()
          throws HomeException
Stops processing of commands/events for this HomeNetworkTransceiver

Specified by:
stop in interface HomeTransmitter
Specified by:
stop in class HomeTransceiver
Throws:
HomeException