public class ProtobufParser extends Object
Constructor and Description |
---|
ProtobufParser() |
Modifier and Type | Method and Description |
---|---|
static jp.go.nict.langrid.commons.util.Pair<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,jp.go.nict.langrid.commons.rpc.RpcFault> |
parseRpcArrayResponse(com.google.protobuf.CodedInputStream cis,
Class<?> resultType,
jp.go.nict.langrid.commons.rpc.ArrayElementsReceiver<?> receiver) |
static jp.go.nict.langrid.commons.util.Pair<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,Object[]> |
parseRpcRequest(com.google.protobuf.CodedInputStream cis,
Class<?>[] parameterTypes) |
static <T> jp.go.nict.langrid.commons.util.Trio<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,jp.go.nict.langrid.commons.rpc.RpcFault,T> |
parseRpcResponse(com.google.protobuf.CodedInputStream cis,
Class<T> resultType) |
public static jp.go.nict.langrid.commons.util.Pair<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,Object[]> parseRpcRequest(com.google.protobuf.CodedInputStream cis, Class<?>[] parameterTypes) throws IOException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public static <T> jp.go.nict.langrid.commons.util.Trio<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,jp.go.nict.langrid.commons.rpc.RpcFault,T> parseRpcResponse(com.google.protobuf.CodedInputStream cis, Class<T> resultType) throws IOException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public static jp.go.nict.langrid.commons.util.Pair<Collection<jp.go.nict.langrid.commons.rpc.RpcHeader>,jp.go.nict.langrid.commons.rpc.RpcFault> parseRpcArrayResponse(com.google.protobuf.CodedInputStream cis, Class<?> resultType, jp.go.nict.langrid.commons.rpc.ArrayElementsReceiver<?> receiver) throws IOException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException