|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.media.mn8.protocol.jabber.ConnectorInterface
The interface for all connectors which handle creating the input and output stream
Field Summary | |
protected String |
hostname
The name of the host being connected to |
Constructor Summary | |
ConnectorInterface(String _hostname)
Constructor |
Method Summary | |
String |
getHostname()
Method to get the name of the host being connected to |
abstract InputStream |
openInputStream()
Method to return the input stream of the connection |
abstract OutputStream |
openOutputStream()
Method to return the output stream of the connection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String hostname
Constructor Detail |
public ConnectorInterface(String _hostname)
_hostname
- The name of the host being connected toMethod Detail |
public String getHostname()
public abstract InputStream openInputStream() throws IOException
IOException
public abstract OutputStream openOutputStream() throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |