Back to index

im-sdk  12.3.91
Public Member Functions | Protected Member Functions | Package Attributes
sun.awt.im.iiimp.IIIMPURLConnection Class Reference
Inheritance diagram for sun.awt.im.iiimp.IIIMPURLConnection:
Inheritance graph
[legend]
Collaboration diagram for sun.awt.im.iiimp.IIIMPURLConnection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void connect () throws IOException
void disconnect () throws IOException
boolean isConnected ()
InputStream getInputStream () throws IOException
OutputStream getOutputStream () throws IOException
void connect () throws IOException
void disconnect () throws IOException
boolean isConnected ()
InputStream getInputStream () throws IOException
OutputStream getOutputStream () throws IOException

Protected Member Functions

 IIIMPURLConnection (URL url)
 IIIMPURLConnection (URL url)

Package Attributes

NetworkClient nc = null

Detailed Description

Definition at line 56 of file IIIMPURLConnection.java.


Constructor & Destructor Documentation

Definition at line 60 of file IIIMPURLConnection.java.

                                          {
       super(url);
       // This only creates an instance for NetworkClient.
       nc = new NetworkClient();
    }

Definition at line 60 of file IIIMPURLConnection.java.

                                          {
       super(url);
       // This only creates an instance for NetworkClient.
       nc = new NetworkClient();
    }

Member Function Documentation

void sun.awt.im.iiimp.IIIMPURLConnection.connect ( ) throws IOException [inline]

Definition at line 66 of file IIIMPURLConnection.java.

                                             {
       if (connected == true) {
           return;
       }
       nc.openServer(url.getHost(), url.getPort());
       connected = true;
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.IIIMPURLConnection.connect ( ) throws IOException [inline]

Definition at line 66 of file IIIMPURLConnection.java.

                                             {
       if (connected == true) {
           return;
       }
       nc.openServer(url.getHost(), url.getPort());
       connected = true;
    }
void sun.awt.im.iiimp.IIIMPURLConnection.disconnect ( ) throws IOException [inline]

Definition at line 74 of file IIIMPURLConnection.java.

                                                {
       if (connected == false) {
           return;
       }
       nc.closeServer();
    }

Here is the caller graph for this function:

void sun.awt.im.iiimp.IIIMPURLConnection.disconnect ( ) throws IOException [inline]

Definition at line 74 of file IIIMPURLConnection.java.

                                                {
       if (connected == false) {
           return;
       }
       nc.closeServer();
    }
InputStream sun.awt.im.iiimp.IIIMPURLConnection.getInputStream ( ) throws IOException [inline]

Definition at line 85 of file IIIMPURLConnection.java.

                                                           {
       try {
           connect();
           return nc.serverInput;
       } catch (RuntimeException e) {
           disconnect();
           throw e;
       } catch (IOException e) {
           disconnect();
           throw e;
       }
    }

Here is the call graph for this function:

InputStream sun.awt.im.iiimp.IIIMPURLConnection.getInputStream ( ) throws IOException [inline]

Definition at line 85 of file IIIMPURLConnection.java.

                                                           {
       try {
           connect();
           return nc.serverInput;
       } catch (RuntimeException e) {
           disconnect();
           throw e;
       } catch (IOException e) {
           disconnect();
           throw e;
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

OutputStream sun.awt.im.iiimp.IIIMPURLConnection.getOutputStream ( ) throws IOException [inline]

Definition at line 98 of file IIIMPURLConnection.java.

                                                             {
       try {
           connect();
           return nc.serverOutput;
       } catch (RuntimeException e) {
           disconnect();
           throw e;
       } catch (IOException e) {
           disconnect();
           throw e;
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

OutputStream sun.awt.im.iiimp.IIIMPURLConnection.getOutputStream ( ) throws IOException [inline]

Definition at line 98 of file IIIMPURLConnection.java.

                                                             {
       try {
           connect();
           return nc.serverOutput;
       } catch (RuntimeException e) {
           disconnect();
           throw e;
       } catch (IOException e) {
           disconnect();
           throw e;
       }
    }

Here is the call graph for this function:

Definition at line 81 of file IIIMPURLConnection.java.

                                 {
       return nc.serverIsOpen();
    }

Definition at line 81 of file IIIMPURLConnection.java.

                                 {
       return nc.serverIsOpen();
    }

Here is the caller graph for this function:


Member Data Documentation

NetworkClient sun.awt.im.iiimp.IIIMPURLConnection.nc = null [package]

Definition at line 58 of file IIIMPURLConnection.java.


The documentation for this class was generated from the following files: