|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.protocol.Connection
oracle.stellent.ridc.protocol.intradoc.socket.SocketConnection
public class SocketConnection
Represents a socket connection to the Content Server
| Constructor Summary | |
|---|---|
SocketConnection(IntradocClientConfig config) |
|
| Method Summary | |
|---|---|
void |
close()Close this socket connection |
void |
connect()Connect this socket to the configured destination |
protected Socket |
createSocket()Create the socket to the configured host |
IntradocClientConfig |
getConfig() |
InputStream |
getInputStream()Get a input stream for this connection |
OutputStream |
getOutputStream()Get a output stream for this connection |
Socket |
getSocket() |
boolean |
isConnected() |
| Methods inherited from class oracle.stellent.ridc.protocol.Connection |
|---|
reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocketConnection(IntradocClientConfig config)
| Method Detail |
|---|
public IntradocClientConfig getConfig()
public void connect()
throws ProtocolException
connect in class ConnectionProtocolException - if an error occurspublic void close()
close in class Connection
public InputStream getInputStream()
throws IOException
ConnectiongetInputStream in class ConnectionIOException
public OutputStream getOutputStream()
throws IOException
ConnectiongetOutputStream in class ConnectionIOExceptionpublic boolean isConnected()
isConnected in class Connectionpublic Socket getSocket()
protected Socket createSocket()
throws ProtocolException,
IOException
IOExceptionProtocolException
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||