class ProtobufRpcMethodInfo extends RpcMethodInfo {

    @Override
    public void inputWriteToStream(Object input, CodedOutputStream stream) throws IOException {
        if (input instanceof Message) {
            ((Message) input).writeTo(stream);
            stream.flush();
        }
    }

    public  ProtobufRpcMethodInfo(Method method);

}