org.media.mn8.protocol.jabber
Class seConnector
java.lang.Object
|
+--org.media.mn8.protocol.jabber.ConnectorInterface
|
+--org.media.mn8.protocol.jabber.seConnector
- public class seConnector
- extends ConnectorInterface
Class for getting a connection to the server under java 2 standard edition.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seConnector
public seConnector(String hostname,
int port)
throws IOException
- Constructor
- Parameters:
hostname
- The host to connect toport
- The port to connect to
openInputStream
public InputStream openInputStream()
throws IOException
- Method to return the input stream of the connection
- Specified by:
openInputStream
in class ConnectorInterface
- Returns:
- The input stream
IOException
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Method to return the output stream of the connection
- Specified by:
openOutputStream
in class ConnectorInterface
- Returns:
- The output stream
IOException
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."