public static ExCommsServerCallbackProxy Get(IExecutorService executorService, ExCommsServerCallbackTypes callbackType, IExCommsServerCallback callbackInstance, int timeoutInMilliseconds, WaitHandle canListen) { using (ILogMethod method = Log.LogMethod("ExCommsServerProxyFactory", "Get")) { ExCommsServerCallbackProxy result = default(ExCommsServerCallbackProxy); try { result = new ExCommsServerCallbackProxy(executorService, callbackType, callbackInstance, timeoutInMilliseconds, canListen); } catch (Exception ex) { method.Exception(ex); } return(result); } }
internal ExCommsServerCallbackProxy(IExecutorService executorService, ExCommsServerCallbackTypes callbackType, IExCommsServerCallback callbackInstance, int timeoutInMilliseconds, WaitHandle canListen) : base(executorService, callbackInstance, timeoutInMilliseconds, canListen) { _callbackType = callbackType; }