Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.media.mn8.protocol.jabber
Class seConnector  view seConnector download seConnector.java

java.lang.Object
  extended byorg.media.mn8.protocol.jabber.ConnectorInterface
      extended byorg.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
private  java.net.Socket serverConnection
          The socket connected to the Jabber server
 
Fields inherited from class org.media.mn8.protocol.jabber.ConnectorInterface
hostname
 
Constructor Summary
seConnector(java.lang.String hostname, int port)
          Constructor
 
Method Summary
 java.io.InputStream openInputStream()
          Method to return the input stream of the connection
 java.io.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
 

Field Detail

serverConnection

private java.net.Socket serverConnection
The socket connected to the Jabber server

Constructor Detail

seConnector

public seConnector(java.lang.String hostname,
                   int port)
            throws java.io.IOException
Constructor

Method Detail

openInputStream

public java.io.InputStream openInputStream()
                                    throws java.io.IOException
Method to return the input stream of the connection

Specified by:
openInputStream in class ConnectorInterface

openOutputStream

public java.io.OutputStream openOutputStream()
                                      throws java.io.IOException
Method to return the output stream of the connection

Specified by:
openOutputStream in class ConnectorInterface