Interface | Description |
---|---|
QiSerializer.Converter |
Converter interface which defines the characteristics of a converter.
|
Class | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
ArrayConverter |
Converter for Array serialization.
|
||||||||
ListConverter |
Converter for List serialization.
|
||||||||
MapConverter |
Converter for Map serialization.
|
||||||||
MethodDescription |
Describe a method.
It contains the method name, return type and parameters type. For choose the best method that corresponds to a search one, we compute a "distance" between methods: This "distance" is build for when match exactly, the distance is 0. If the two methods have different name or different number of parameters the distance is "infinite" .
The distance between primitive and their associated Object (For example int <-> java.lang.Integer, boolean <-> java.lang.Boolean, ...) is MethodDescription.DISTANCE_PRIMITIVE_OBJECT .
The distance between two numbers (double, float, ...) is MethodDescription.DISTANCE_NUMBERS .
The distance (for returned value only) between a type and a Future that embed this type is MethodDescription.DISTANCE_FUTURE .
The distance with a Tuple and QiStruct is MethodDescription.DISTANCE_TUPLE_STRUCT
For others case the distance becomes "infinite"
By example for libqi signature "call::s(i)":
Copyright © 2019. All rights reserved. |