Ejemplo n.º 1
0
        /// <summary>
        ///     DivertEvents(). It is to allow events that an embedded script would expect to get in the inputcallback to be
        ///     diverted to the event socket.
        /// </summary>
        /// <returns></returns>
        public async Task <bool> DivertEvents()
        {
            var command = new DivertEventsCommand(true);
            var reply   = await Send(command);

            return(reply != null && reply.IsSuccessful);
        }
Ejemplo n.º 2
0
        public async Task DivertEventsAsync(bool flag)
        {
            var command = new DivertEventsCommand(flag);

            await SendCommandAsync(command);
        }
Ejemplo n.º 3
0
 /// <summary>
 ///     DivertEvents(). It is to allow events that an embedded script would expect to get in the inputcallback to be
 ///     diverted to the event socket.
 /// </summary>
 /// <returns></returns>
 public async Task<bool> DivertEvents() {
     var command = new DivertEventsCommand(true);
     var reply = await Send(command);
     return reply != null && reply.IsSuccessful;
 }