예제 #1
0
        /// <summary>
        /// Connect to the Executor Service and subscribe for state change events.
        /// Register also event handlers for the communication state changes.
        /// </summary>
        public void Connect()
        {
            _executorProxy = _channelFactory.CreateChannel();

            ClientChannel.Opened  += clientCommunication_Opened;
            ClientChannel.Faulted += clientCommunication_Faulted;
            ClientChannel.Closed  += clientCommunication_Closed;

            _executorProxy.ConnectClient();
        }
예제 #2
0
        /// <summary>
        /// Connect to the Executor Service and subscribe for state change events.
        /// Register also event handlers for the communication state changes.
        /// </summary>
        public void Connect()
        {
            _executorProxy = _channelFactory.CreateChannel();

            ClientChannel.Opened += clientCommunication_Opened;
            ClientChannel.Faulted += clientCommunication_Faulted;
            ClientChannel.Closed += clientCommunication_Closed;

            _executorProxy.ConnectClient();
        }