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.


Field Summary
 
Fields inherited from class org.media.mn8.protocol.jabber.ConnectorInterface
hostname
 
Constructor Summary
seConnector(String hostname, int port)
          Constructor
 
Method Summary
 InputStream openInputStream()
          Method to return the input stream of the connection
 OutputStream openOutputStream()
          Method to return the output stream of the connection
 
Methods inherited from class org.media.mn8.protocol.jabber.ConnectorInterface
getHostname
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

seConnector

public seConnector(String hostname,
                   int port)
            throws IOException
Constructor

Parameters:
hostname - The host to connect to
port - The port to connect to
Method Detail

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."