예제 #1
0
 /// <summary>
 /// Add a MessageHandler to the front. When a MessageHandler is at the front,
 /// this MessageHandlers may try to handle a received messages first.
 /// </summary>
 /// <param name="messageHandler">The MessageHandler to add.</param>
 public void AddToFront(MessageHandler messageHandler)
 {
     this.messageHandlers.Insert(0, messageHandler);
 }
예제 #2
0
 /// <summary>
 /// Add a MessageHandler to the front. When a MessageHandler is at the front,
 /// this MessageHandlers may try to handle a received messages first.
 /// </summary>
 /// <param name="messageHandler">The MessageHandler to add.</param>
 public void AddToFront(MessageHandler messageHandler)
 {
     this.messageHandlers.Insert(0, messageHandler);
 }
예제 #3
0
        //
        // - Methods -
        //

        /// <summary>
        /// Add a MessageHandler to the back. When a MessageHandler is at the back,
        /// all MessageHandlers in front may try to handle a received messages first.
        /// </summary>
        /// <param name="messageHandler">The MessageHandler to add.</param>
        public void AddToBack(MessageHandler messageHandler)
        {
            this.messageHandlers.Add(messageHandler);
        }
예제 #4
0
 //
 // - Methods -
 //
 /// <summary>
 /// Add a MessageHandler to the back. When a MessageHandler is at the back,
 /// all MessageHandlers in front may try to handle a received messages first.
 /// </summary>
 /// <param name="messageHandler">The MessageHandler to add.</param>
 public void AddToBack(MessageHandler messageHandler)
 {
     this.messageHandlers.Add(messageHandler);
 }