Class SocketConnection
java.lang.Object
oracle.stellent.ridc.protocol.Connection
oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection
- Direct Known Subclasses:
SSLSocketConnection
Represents a socket connection to the Content Server
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class oracle.stellent.ridc.protocol.Connection
reset
-
Constructor Details
-
SocketConnection
-
-
Method Details
-
getConfig
-
connect
Connect this socket to the configured destination- Overrides:
connectin classConnection- Throws:
ProtocolException- if an error occurs
-
close
public void close()Close this socket connection- Overrides:
closein classConnection
-
getInputStream
Description copied from class:ConnectionGet a input stream for this connection- Specified by:
getInputStreamin classConnection- Returns:
- the input stream for this socket
- Throws:
IOException
-
getOutputStream
Description copied from class:ConnectionGet a output stream for this connection- Specified by:
getOutputStreamin classConnection- Returns:
- the output stream for this socket
- Throws:
IOException
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin classConnection- Returns:
- true if this is connection is active
-
getSocket
- Returns:
- the socket associated with this connection
-
createSocket
Create the socket to the configured host- Returns:
- the socket connection
- Throws:
IOExceptionProtocolException
-