Interface HSAdapter


  • public interface HSAdapter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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 server.
      void deleteHandleValues​(java.lang.String handle, HandleValue[] values)
      Deletes a specific set of handle values in a Handle.
      int getTcpTimeout()
      Get how long to wait for responses to TCP and HTTP requests.
      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.
      HandleValue[] resolveHandle​(java.lang.String handle, java.lang.String[] types, int[] indexes, boolean auth)
      Resolves a handle and returns a set of handle values that satisfy the type filter specified.
      void setTcpTimeout​(int newTcpTimeout)
      Set how long to wait for responses to TCP and HTTP requests.
      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

      • addHandleValues

        void addHandleValues​(java.lang.String handle,
                             HandleValue[] values)
                      throws HandleException
        Adds new handle records.
        Note:
      • The administrative priveleges have to be valid for this method to perform without any exception
Parameters:
handle - The handle into which new values are to be added
values - The array of handle values to deposit
Throws:
HandleException
Parameters:
handle - The handle to delete.
Throws:
HandleException