Interface IResult


  • public interface IResult
    Since:
    Mar 9, 2006
    • Method Detail

      • processPool

        @Deprecated
        INativeService processPool()
        Deprecated.
        use service() instead
        Returns:
        associated INativeService
      • service

        INativeService service()
        Returns:
        associated INativeService
      • call

        java.lang.String call()
        Returns:
        NativeService call name
      • results

        NCMap results()
        Result NCMap object
        Returns:
        Result NCMap object
      • get

        NCType get​(java.lang.String key)
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
      • getString

        java.lang.String getString​(java.lang.String key)
                            throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getBool

        boolean getBool​(java.lang.String key)
                 throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getDouble

        double getDouble​(java.lang.String key)
                  throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getInt

        int getInt​(java.lang.String key)
            throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getLong

        long getLong​(java.lang.String key)
              throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getByteArray

        byte[] getByteArray​(java.lang.String key)
                     throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getBytes

        java.nio.ByteBuffer getBytes​(java.lang.String key)
                              throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getMap

        NCMap getMap​(java.lang.String key)
              throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type
      • getList

        NCList getList​(java.lang.String key)
                throws BadMessageException
        Return named result.
        Parameters:
        key - the result name
        Returns:
        the named result
        Throws:
        BadMessageException - if the named result is not present or not of the correct type