Package oracle.stellent.ridc.protocol
Class Connection
java.lang.Object
oracle.stellent.ridc.protocol.Connection
- Direct Known Subclasses:
IdcHttpClientConnection,JaxWSClientConnection,SocketConnection
A connection to the Content Server for the given protocol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the connectionvoidconnect()Create and initialize a connectionabstract InputStreamGet a input stream for this connectionabstract OutputStreamGet a output stream for this connectionabstract booleanprotected voidreset()Reset the connection fields
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
isConnected
public abstract boolean isConnected()- Returns:
- true if this is connection is active
-
getInputStream
Get a input stream for this connection- Returns:
- an input stream
- Throws:
IOException
-
getOutputStream
Get a output stream for this connection- Returns:
- an output stream
- Throws:
IOException
-
reset
protected void reset()Reset the connection fields -
close
Close the connection- Throws:
ProtocolException
-
connect
Create and initialize a connection- Throws:
ProtocolException
-