|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsophware.home.lang.Home
sophware.home.net.NetworkHome
public class NetworkHome
NetworkHome used to acceess a remote
Home via a NetworkHomeServer
Home,
NetworkHomeServer,
Serialized Form| Field Summary |
|---|
| Fields inherited from class sophware.home.lang.Home |
|---|
m_database, m_errorStream, m_me, m_receiver, m_transmitter |
| Constructor Summary | |
|---|---|
NetworkHome(java.lang.String host,
int port)
Instantiates a NetworkHomeTransceiver that communicates
with the given host on the given port. |
|
| Method Summary | |
|---|---|
void |
run()
Runnable implementation for thread that will receive HomeEvents and HomeCommandStatus |
void |
send(java.lang.Object obj)
Transmits the given object to the remote NetworkHomeServer |
void |
start()
Starts processing of commands/events for this NetworkHomeTransceiver |
void |
stop()
Stops processing of commands/events for this NetworkHomeTransceiver |
| Methods inherited from class sophware.home.lang.Home |
|---|
add, addHomeListener, distribute, distribute, flush, get, get, getAll, getAll, remove, removeHomeListener, transmit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkHome(java.lang.String host,
int port)
NetworkHomeTransceiver that communicates
with the given host on the given port.
host - hostname of the remote NetworkHomeServerport - port upon which the remote NetworkHomeServer is listening| Method Detail |
|---|
public void start()
throws java.io.IOException,
HomeException
NetworkHomeTransceiver
start in class Homejava.io.IOException
HomeException
public void send(java.lang.Object obj)
throws java.io.IOException
NetworkHomeServer
obj - the Object to be transmitted
java.io.IOException
public void stop()
throws java.io.IOException,
HomeException
NetworkHomeTransceiver
stop in class Homejava.io.IOException
HomeExceptionpublic void run()
HomeEvents and HomeCommandStatus from
the NetworkHomeServer
- Specified by:
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||