コード例 #1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn public TestMessage(TestMessage sourceMessage, TestChannel sendingChannel): base(sourceMessage, sendingChannel)
        ///
        /// \brief Constructor.
        ///
        /// \par Description.
        ///      A message that is duplicated to the source except for the channel parameters.
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///      This constructor is useful when you want to forward a message to other channels
        ///
        /// \author Ilanh
        /// \date 14/03/2017
        ///
        /// \param sourceMessage  (TestMessage) - Message describing the source.
        /// \param sendingChannel (TestChannel) - The sending channel.
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        public TestMessage(TestNetwork network, TestMessage sourceMessage, TestChannel sendingChannel) :
            base(network, sourceMessage, sendingChannel)
        {
        }
コード例 #2
0
        ////////////////////////////////////////////////////////////////////////////////////////////////////
        /// \fn public TestMessage(TestNetwork network, TestMessage sourceMessage): base(network, sourceMessage)
        ///
        /// \brief Constructor.
        ///
        /// \par Description.
        ///      Constructor that generates a duplication of a source message.
        ///
        /// \par Algorithm.
        ///
        /// \par Usage Notes.
        ///
        /// \author Ilanh
        /// \date 27/06/2017
        ///
        /// \param network       (TestNetwork) - The network.
        /// \param sourceMessage (TestMessage) - Message describing the source.
        ////////////////////////////////////////////////////////////////////////////////////////////////////

        public TestMessage(TestNetwork network, TestMessage sourceMessage) : base(network, sourceMessage)
        {
        }