示例#1
0
            /// <summary>
            /// Trigger thread status.
            /// </summary>
            public void SendThreadStatus()
            {
                var conn = ConnectionOrError;

                conn.AddToWriteQueue(Chunk.CreateChunk(conn, ThstType, 0));
            }
 /// <summary>
 /// Send a Helo command.
 /// </summary>
 public void SendHelo()
 {
     AddToWriteQueue(Chunk.CreateChunk(this, Debugger.DdmsCommandSet.HeloType, 4, x => x.Data.SetInt(Debugger.DdmsCommandSet.ServerProtocolVersion)));
 }
示例#3
0
            /// <summary>
            /// Enable/disable sending of thread creation notifications.
            /// </summary>
            public Task SetThreadNotificationsAsync(bool enable)
            {
                var conn = ConnectionOrError;

                return(conn.SendAsync(Chunk.CreateChunk(conn, ThenType, 1, x => x.Data.SetBoolean(enable))));
            }