|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HSAdapter
| Method Summary | |
|---|---|
void |
addHandleValues(java.lang.String handle,
HandleValue[] values)
Adds new handle records. |
HandleValue |
createAdminValue(java.lang.String adminHandle,
int keyIndex,
int index)
Creates an administrative record with the adminHandle and adminIndex at the index. |
void |
createHandle(java.lang.String handle,
HandleValue[] values)
Creates a new handle. |
HandleValue |
createHandleValue(int index,
java.lang.String type,
java.lang.String data)
Creates a new handle value. |
void |
deleteHandle(java.lang.String handle)
Deletes an existing Handle from the handle system. |
void |
deleteHandleValues(java.lang.String handle,
HandleValue[] values)
Deletes a specific set of handle values in a Handle. |
HandleValue[] |
resolveHandle(java.lang.String handle,
java.lang.String[] types,
int[] indexes)
Resolves a handle and returns a set of handle values that satisfy the type filter specified. |
void |
setUseUDP(boolean useUDP)
Adds and prioritizes the UDP for communication with the Handle server. |
void |
updateHandleValues(java.lang.String handle,
HandleValue[] values)
Updates the specified data handle values. |
| Method Detail |
|---|
void addHandleValues(java.lang.String handle,
HandleValue[] values)
throws HandleException
handle - The handle into which new values are to be addedvalues - The array of handle values to deposit
HandleException
HandleValue createAdminValue(java.lang.String adminHandle,
int keyIndex,
int index)
throws HandleException
adminHandle - The admin handle for this handle valuekeyIndex - The index of the public key in the admin Handleindex - Which index to put this information at.
HandleException
void createHandle(java.lang.String handle,
HandleValue[] values)
throws HandleException
handle - The handle to createvalues - An array of handle values to add to the handle. Note:
Note:
Describes - the error that occured in the process of creating the
handle.
HandleException
HandleValue createHandleValue(int index,
java.lang.String type,
java.lang.String data)
throws HandleException
index - Which index to put this information at.type - The type of the handle valuedata - The data for this handle value Otherwise not.
HandleException
void deleteHandle(java.lang.String handle)
throws HandleException
handle - The handle to delete.
HandleException
void deleteHandleValues(java.lang.String handle,
HandleValue[] values)
throws HandleException
handle - The Handle that we want to delete values fromvalues - An array of handle values to delete.
Describes - the error that occured while executing the method.
HandleException
HandleValue[] resolveHandle(java.lang.String handle,
java.lang.String[] types,
int[] indexes)
throws HandleException
handle - The value of the handle to resolvetypes - The types of the handle values that we are looking for.
Describes - the error in resolution
HandleExceptionvoid setUseUDP(boolean useUDP)
useUDP - The boolean flag that specifies the use of UDP.
void updateHandleValues(java.lang.String handle,
HandleValue[] values)
throws HandleException
handle - values -
HandleException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||