public static ICalleeProxyInvocationInterceptor BuildInterceptor(MethodInfo method, ICalleeProxyInterceptor interceptor, WampCalleeProxyInvocationHandler handler)
        {
            Type interceptorType = GetRelevantInterceptorType(method);

            ICalleeProxyInvocationInterceptor result =
                (ICalleeProxyInvocationInterceptor)
                Activator.CreateInstance(interceptorType,
                                         method,
                                         handler,
                                         interceptor);

            return(result);
        }
 public WampCalleeProxyFactory(WampCalleeProxyInvocationHandler handler)
 {
     mHandler = handler;
 }
Esempio n. 3
0
 public CalleeProxyBase(IWampRealmProxy realmProxy,
                        ICalleeProxyInterceptor interceptor)
 {
     mInterceptor = interceptor;
     mHandler     = new ClientInvocationHandler(realmProxy);
 }
 public WampCalleeClientProxyFactory(IWampRealmProxy proxy)
 {
     mProxy   = proxy;
     mHandler = new ClientInvocationHandler(proxy);
 }