sophware.home.net
Class NetworkHomeStorage

java.lang.Object
  extended by sophware.home.io.MemoryHomeStorage
      extended by sophware.home.net.NetworkHomeStorage
All Implemented Interfaces:
HomeStorage

public class NetworkHomeStorage
extends MemoryHomeStorage

The NetworkHomeStorage is access remote storage on a NetworkHome.

Version:
1.0, 03/19/07
Author:
Russell Soph

Constructor Summary
NetworkHomeStorage()
          Constructs NetworkHomeStorage
 
Method Summary
 void close()
          stops this data store
 void open()
          Initializes this data store
 void process(sophware.home.net.NetworkHomeMessage message)
           
protected  void setHome(NetworkHome home)
           
 
Methods inherited from class sophware.home.io.MemoryHomeStorage
add, contains, flush, get, get, getAll, getAll, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkHomeStorage

public NetworkHomeStorage()
Constructs NetworkHomeStorage

Method Detail

setHome

protected void setHome(NetworkHome home)

open

public void open()
          throws java.io.IOException,
                 java.lang.ClassNotFoundException
Description copied from class: MemoryHomeStorage
Initializes this data store

Specified by:
open in interface HomeStorage
Overrides:
open in class MemoryHomeStorage
Throws:
java.io.IOException
java.lang.ClassNotFoundException

process

public void process(sophware.home.net.NetworkHomeMessage message)

close

public void close()
           throws java.io.IOException
Description copied from class: MemoryHomeStorage
stops this data store

Specified by:
close in interface HomeStorage
Overrides:
close in class MemoryHomeStorage
Throws:
java.io.IOException