sophware.home.io
Interface HomeAccess

All Known Implementing Classes:
NetworkAccess, RXTXSerialAccess, SerialAccess, USBAccess

public interface HomeAccess

HomeAccess interface provides comm acces to your home


Method Summary
 void close()
          Close the access port
 java.io.InputStream getInputStream()
          Get the InputStream
 java.io.OutputStream getOutputStream()
          Get the OutputStream
 boolean isOpen()
          returns status of access
 void open()
          Open the access port
 

Method Detail

open

void open()
          throws java.io.IOException
Open the access port

Throws:
java.io.IOException

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Get the InputStream

Returns:
the InputStream
Throws:
java.io.IOException

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Get the OutputStream

Returns:
the OutputStream
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Close the access port

Throws:
java.io.IOException

isOpen

boolean isOpen()
returns status of access