|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.businesslink.sgi.api.hsm.HsmClient
Used to send HSM requests to HSM servers.
Constructor Summary | |
HsmClient()
Constructs a new HSM client. |
|
HsmClient(java.io.PrintWriter writer)
Constructs a new HSM client. |
Method Summary | |
void |
close()
Performs necessary HSM client cleanup. |
static void |
enableCache(boolean ena)
Enables or disables internal HsmClient implementation object caching. |
protected void |
finalize()
Automatically calls the close method. |
void |
processHsmRequest(java.lang.String svr,
HsmClientRequest cltrqs)
Performs a HSM transaction with a HSM server. |
void |
processHsmRequest(java.lang.String svr,
HsmClientRequest cltrqs,
int timout)
Performs a HSM transaction with a HSM server. |
boolean |
setOption(java.lang.String kwd,
java.lang.String val)
Sets a particular HSM client option. |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HsmClient()
public HsmClient(java.io.PrintWriter writer)
writer
- a PrintWriter used for HSM diagnostics.Method Detail |
protected void finalize() throws java.lang.Throwable
public boolean setOption(java.lang.String kwd, java.lang.String val)
kwd
- keyword identifying the option to set.val
- value to set.public void processHsmRequest(java.lang.String svr, HsmClientRequest cltrqs)
svr
- name of the HSM server to process this transaction.cltrqs
- object containing client request data (input) and server reply data (output).public void processHsmRequest(java.lang.String svr, HsmClientRequest cltrqs, int timout)
svr
- name of the HSM server to process this transaction.cltrqs
- object containing client request data (input) and server reply data (output).timout
- the timeout (in seconds) to wait for the transaction to complete.public void close()
public static void enableCache(boolean ena)
ena
- if true, enable object caching; if false, disable object caching.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |