public class ProtobufDecoder<OUTPUT extends com.google.protobuf.GeneratedMessage> extends SizePrefixedDecoder<OUTPUT>
SizePrefixedDecoder.MutableInt
Constructor and Description |
---|
ProtobufDecoder(Class<OUTPUT> clazz,
com.google.protobuf.ExtensionRegistryLite registry) |
Modifier and Type | Method and Description |
---|---|
static <L extends com.google.protobuf.GeneratedMessage> |
newInstance(Class<L> clazz) |
static <L extends com.google.protobuf.GeneratedMessage> |
newInstance(Class<L> clazz,
com.google.protobuf.ExtensionRegistryLite registry) |
createDecoderState, decode, finishDecode
public ProtobufDecoder(Class<OUTPUT> clazz, com.google.protobuf.ExtensionRegistryLite registry) throws NoSuchMethodException
NoSuchMethodException
public static <L extends com.google.protobuf.GeneratedMessage> ProtobufDecoder<L> newInstance(Class<L> clazz, com.google.protobuf.ExtensionRegistryLite registry) throws NoSuchMethodException
NoSuchMethodException
public static <L extends com.google.protobuf.GeneratedMessage> ProtobufDecoder<L> newInstance(Class<L> clazz) throws NoSuchMethodException
NoSuchMethodException
Copyright © 2009–2013 Apache MINA Project. All rights reserved.