class ProtobufRpcMethodInfo extends RpcMethodInfo {

    @Override
    public byte[] inputEncode(Object input) throws IOException {
        if (input instanceof Message) {
            return ((Message) input).toByteArray();
        }
        return null;
    }

    public  ProtobufRpcMethodInfo(Method method);

}