예제 #1
0
    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);
    }
예제 #2
0
 public Processor(SharedService.Iface iface)
 {
     this.iface_ = iface;
     this.processMap_["getStruct"] = new SharedService.Processor.ProcessFunction(this.getStruct_Process);
 }