Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


oracle.stellent.ridc.protocol
Class Connection

java.lang.Object
  extended by oracle.stellent.ridc.protocol.Connection

Direct Known Subclasses:
IdcHttpClientConnection, JaxWSClientConnection, SocketConnection

public abstract class Connection
extends java.lang.Object

A connection to the Content Server for the given protocol.


Constructor Summary
Connection()
           

 

Method Summary
 void close()
          Close the connection
 void connect()
          Create and initialize a connection
abstract  java.io.InputStream getInputStream()
          Get a input stream for this connection
abstract  java.io.OutputStream getOutputStream()
          Get a output stream for this connection
abstract  boolean isConnected()
           
protected  void reset()
          Reset the connection fields

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Connection

public Connection()

Method Detail

isConnected

public abstract boolean isConnected()
Returns:
true if this is connection is active

getInputStream

public abstract java.io.InputStream getInputStream()
                                            throws java.io.IOException
Get a input stream for this connection
Returns:
an input stream
Throws:
java.io.IOException

getOutputStream

public abstract java.io.OutputStream getOutputStream()
                                              throws java.io.IOException
Get a output stream for this connection
Returns:
an output stream
Throws:
java.io.IOException

reset

protected void reset()
Reset the connection fields

close

public void close()
           throws ProtocolException
Close the connection
Throws:
ProtocolException

connect

public void connect()
             throws ProtocolException
Create and initialize a connection
Throws:
ProtocolException

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.