示例#1
0
 protected ServiceSocketBase(NetMQSocket socket)
 {
     Socket         = socket;
     ServiceBuilder = new ServiceBuilder();
     Poller         = new NetMQPoller();
     EndPoints      = new List <string>();
 }
示例#2
0
 public object GetServiceProxy(Type type, Type[] additionalInterfaces) =>
 // ServiceProxyGenerator2.GetProxy(type, HandleInterception);
 ServiceBuilder.Build(type, additionalInterfaces, new SimpleInterceptor(HandleInvocation));