Class RPCCall


  • public final class RPCCall
    extends Table
    • Constructor Detail

      • RPCCall

        public RPCCall()
    • Method Detail

      • ValidateVersion

        public static void ValidateVersion()
      • __init

        public void __init​(int _i,
                           ByteBuffer _bb)
      • nameAsByteBuffer

        public ByteBuffer nameAsByteBuffer()
      • request

        public Object request()
      • response

        public Object response()
      • attributes

        public KeyValue attributes​(int j)
      • attributesLength

        public int attributesLength()
      • documentation

        public String documentation​(int j)
      • documentationLength

        public int documentationLength()
      • documentationVector

        public StringVector documentationVector()
      • createRPCCall

        public static int createRPCCall​(FlatBufferBuilder builder,
                                        int nameOffset,
                                        int requestOffset,
                                        int responseOffset,
                                        int attributesOffset,
                                        int documentationOffset)
      • addName

        public static void addName​(FlatBufferBuilder builder,
                                   int nameOffset)
      • addRequest

        public static void addRequest​(FlatBufferBuilder builder,
                                      int requestOffset)
      • addResponse

        public static void addResponse​(FlatBufferBuilder builder,
                                       int responseOffset)
      • addAttributes

        public static void addAttributes​(FlatBufferBuilder builder,
                                         int attributesOffset)
      • createAttributesVector

        public static int createAttributesVector​(FlatBufferBuilder builder,
                                                 int[] data)
      • startAttributesVector

        public static void startAttributesVector​(FlatBufferBuilder builder,
                                                 int numElems)
      • addDocumentation

        public static void addDocumentation​(FlatBufferBuilder builder,
                                            int documentationOffset)
      • createDocumentationVector

        public static int createDocumentationVector​(FlatBufferBuilder builder,
                                                    int[] data)
      • startDocumentationVector

        public static void startDocumentationVector​(FlatBufferBuilder builder,
                                                    int numElems)
      • keysCompare

        protected int keysCompare​(Integer o1,
                                  Integer o2,
                                  ByteBuffer _bb)
        Description copied from class: Table
        Compare two tables by the key.
        Overrides:
        keysCompare in class Table
        Parameters:
        o1 - An 'Integer' index of the first key into the bb.
        o2 - An 'Integer' index of the second key into the bb.
        _bb - A ByteBuffer to get the keys.