@Exported public class IntradocClient extends IdcClient<IntradocClientConfig,IntradocProtocol,SocketConnection>
The Intradoc implementation of the IDC client. This will communicate via the Content Server IntradocPort (4444) in either plain sockets or SSL sockets. The protocol uses the Content Server HDA format to serialize the DataBinder.
The intradoc client requires the Content Server have the IP address of the client added to the "Trusted Hosts" property. This establishes a trusted connection between the Content Server and the client. The intradoc client does not require a password for any request and therefore the obligation of authentication is pushed into the client application.
The client uses a BlockingQueue
object to control the flow of requests to the Content
Server; this is configurable, along with other client properties, via the IntradocClientConfig
object.
Constructor and Description |
---|
IntradocClient(IdcClientManager clientManager,
IntradocClientConfig clientConfig) |
Modifier and Type | Method and Description |
---|---|
protected ConnectionManager<SocketConnection,IntradocClientConfig> |
createConnectionManager()
Create the connection manager
|
protected IntradocProtocol |
createProtocol(ServiceRequest<SocketConnection> serviceRequest)
Create the protocol to handle the request
|
static SocketConnectionManager |
getSocketManager(String name) |
static void |
registerSocketFactory(String name,
SocketConnectionManager socketFactory) |
createBinder, createConnectionPool, createRequest, createResponse, getClientManager, getConfig, getConnectionManager, getConnectionPool, getDataFactory, getVersion, initialize, isCompatible, isInitialized, logout, logout, sendRequest, sendRequest, setDataFactory, setInitialized
@Concealed public IntradocClient(IdcClientManager clientManager, IntradocClientConfig clientConfig)
@Concealed public static void registerSocketFactory(String name, SocketConnectionManager socketFactory)
@Concealed public static SocketConnectionManager getSocketManager(String name)
@Concealed protected ConnectionManager<SocketConnection,IntradocClientConfig> createConnectionManager()
createConnectionManager
in class IdcClient<IntradocClientConfig,IntradocProtocol,SocketConnection>
@Concealed protected IntradocProtocol createProtocol(ServiceRequest<SocketConnection> serviceRequest)
createProtocol
in class IdcClient<IntradocClientConfig,IntradocProtocol,SocketConnection>
serviceRequest
- the connection object