class ProtobufRpcMethodInfo extends RpcMethodInfo {

    public byte[] outputEncode(Object output) throws IOException {
        if (output instanceof Message) {
            return ((Message) output).toByteArray();
        }
        return null;
    }

    public  ProtobufRpcMethodInfo(Method method);

}