/// <exception cref="System.IO.IOException"/> public SCMUploaderProtocolPBClientImpl(long clientVersion, IPEndPoint addr, Configuration conf) { RPC.SetProtocolEngine(conf, typeof(SCMUploaderProtocolPB), typeof(ProtobufRpcEngine )); proxy = RPC.GetProxy <SCMUploaderProtocolPB>(clientVersion, addr, conf); }
public virtual void Close() { if (this.proxy != null) { RPC.StopProxy(this.proxy); this.proxy = null; } }