public SharedService.Iface GetClient() { string className = this.serviceMap[this.serviceName]; Type objectType = Type.GetType(className); SharedService.Iface client = (SharedService.Iface)Activator.CreateInstance(objectType, this.protocol); this.transport.Open(); return(client); }
public Processor(SharedService.Iface iface) { this.iface_ = iface; this.processMap_["getStruct"] = new SharedService.Processor.ProcessFunction(this.getStruct_Process); }