using System;

namespace   IMLibrary.POP3Library
{
	/// <summary>
	/// Holds POP3 message info.
	/// </summary>
	public class POP3_MessageInfo
	{
		private string m_MessageID   = "";
		private int    m_MessageNr   = 0;
		private long   m_MessageSize = 0;
		
		/// <summary>
		/// Default constructor.
		/// </summary>
		/// <param name="messageID"></param>
		/// <param name="messageNr"></param>
		/// <param name="messageSize"></param>
		public POP3_MessageInfo(string messageID,int messageNr,long messageSize)
		{	
			m_MessageID   = messageID;
			m_MessageNr   = messageNr;
			m_MessageSize = messageSize;
		}

		#region Properties Implementation

		/// <summary>
		/// Gets message unique ID returned by pop3 server.
		/// </summary>
		public string MessegeID
		{
			get{ return m_MessageID; }
		}

		/// <summary>
		/// Gets message number in POP3 server.
		/// </summary>
		public int MessageNr
		{
			get{ return m_MessageNr; }
		}

		/// <summary>
		/// Gets message size.
		/// </summary>
		public long MessageSize
		{
			get{ return m_MessageSize; }
		}

		#endregion

	}
}
