class ProtobufRpcMethodInfo extends RpcMethodInfo {

    @Override
    public int getOutputSerializedSize(Object output) throws IOException {
        if (output instanceof Message) {
            return ((Message) output).getSerializedSize();
        }
        return 0;
    }

    public  ProtobufRpcMethodInfo(Method method);

}