com.ibm.security.certclient.beans
Class PkTcpClient
- java.lang.Object
com.ibm.security.certclient.base.PkSource
com.ibm.security.certclient.base.PkPipe
com.ibm.security.certclient.beans.PkTcpClient
All implemented interfaces:
- public class PkTcpClient
- extends PkPipe
Author:
Krishna Yellepeddy , Eric Storch
Field Summary
Fields inherited from class com.ibm.security.certclient.base.PkSource |
---|
isInitialized |
Constructor Summary
Constructor and Description |
---|
PkTcpClient(String host,int port,PkEventFormatter eventFormatter,int numConns)
|
PkTcpClient(String host,int port,PkEventFormatter eventFormatter,int numConns,SocketFactory socketFactory)
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
close()
|
doReq(PkReqEvent req)
|
|
|
finalize()
|
Methods inherited from class com.ibm.security.certclient.base.PkPipe |
---|
doCertReq, doConfReq, doGnrlReq, doHttpReq, doInitReq, doKrecReq, doKupdReq, doPollReq, doRevoReq, doSecnReq, doXcerReq |
Methods inherited from class com.ibm.security.certclient.base.PkSource |
---|
addPkListener, init, initialize, initNext, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, propagate, removePkListener, replacePkListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.security.certclient.base.PkListener |
---|
initialize |
Constructor Detail
PkTcpClient
- public PkTcpClient(String host,
- int port,
- PkEventFormatter eventFormatter,
- int numConns)
- throws PkException
Throws:
PkTcpClient
- public PkTcpClient(String host,
- int port,
- PkEventFormatter eventFormatter,
- int numConns,
- SocketFactory socketFactory)
- throws PkException
Throws:
Method Detail
finalize
- public void finalize()
- throws PkException
Throws:
close
- public void close()
- throws PkException
Throws:
doReq
- public PkRepEvent doReq(PkReqEvent req)
- throws PkException
Returns the reply for a given request.
This is the most general form of the request handler methods, it gets called when the bean has not provided a more specific method to handle the request.
The PkPipe implementation simply propagates the request event to the next listener in the chain.
Throws:
PkPipe