public class ProtobufEncoder<INPUT extends com.google.protobuf.GeneratedMessage> extends SizePrefixedEncoder<INPUT>
Constructor and Description |
---|
ProtobufEncoder(Class<INPUT> clazz) |
Modifier and Type | Method and Description |
---|---|
static <L extends com.google.protobuf.GeneratedMessage> |
newInstance(Class<L> clazz) |
createEncoderState, encode
public static <L extends com.google.protobuf.GeneratedMessage> ProtobufEncoder<L> newInstance(Class<L> clazz)
Copyright © 2009–2013 Apache MINA Project. All rights reserved.