Interface IResult


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

      • service

        INativeService service()
        Returns:
        associated INativeService
      • call

        String call()
        Returns:
        NativeService call name
      • results

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

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

        boolean getBool​(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​(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​(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​(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​(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