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