class Protobuf::Rpc::Client

def on_failure=(callable)

def on_failure=(callable)
  if callable != nil && !callable.respond_to?(:call) && callable.arity != 1
    raise "callable must take a single argument and respond to :call"
  end
  @connector.failure_cb = callable 
end