public interface OKVPrimitiveConnection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the Oracle Key Vault server, if it has not
yet been closed.
|
boolean |
isClosed()
Checks if the connection is closed.
|
void |
open()
Opens the connection to the Oracle Key Vault server if
the connection has not yet been opened.
|
int |
recv(byte[] bytes,
int offset,
int len)
Receives a byte array from the Oracle Key Vault server.
|
void |
send(byte[] bytes)
Sends a byte array to the Oracle Key Vault server.
|
void close()
throws java.io.IOException
java.io.IOExceptionvoid open()
throws java.io.IOException,
OKVConnectionException
java.io.IOExceptionOKVConnectionExceptionint recv(byte[] bytes,
int offset,
int len)
bytes - byte array to which data is to be readoffset - offset at which to start storing the byteslen - offset at which to start storing the bytesvoid send(byte[] bytes) throws java.io.IOException
bytes - bytes to be sentjava.io.IOExceptionboolean isClosed()