Exemple #1
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue,
                          string from,
                          string to,
                          string messageID,
                          Stream message,
                          object tag)
 {
     m_pQueue         = queue;
     m_From           = from;
     m_To             = to;
     m_MessageID      = messageID;
     m_pMessageStream = message;
     Tag = tag;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="queue">Item owner queue.</param>
 /// <param name="from">Sender address.</param>
 /// <param name="to">Target recipient address.</param>
 /// <param name="messageID">Message ID.</param>
 /// <param name="message">Raw mime message. Message reading starts from current position.</param>
 /// <param name="tag">User data.</param>
 internal Relay_QueueItem(Relay_Queue queue,
                          string from,
                          string to,
                          string messageID,
                          Stream message,
                          object tag)
 {
     m_pQueue = queue;
     m_From = from;
     m_To = to;
     m_MessageID = messageID;
     m_pMessageStream = message;
     Tag = tag;
 }