|
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Net.Sockets;
namespace Net.Mail
{
/// <summary>
/// This class represents the Pop3 NOOP command.
/// </summary>
internal sealed class NoopCommand : Pop3Command<Pop3Response>
{
/// <summary>
/// Initializes a new instance of the <see cref="NoopCommand"/> class.
/// </summary>
/// <param name="stream">The stream.</param>
public NoopCommand(Stream stream)
: base(stream, false, Pop3State.Transaction) { }
/// <summary>
/// Creates the NOOP request message.
/// </summary>
/// <returns>
/// The byte[] containing the NOOP request message.
/// </returns>
protected override byte[] CreateRequestMessage()
{
return GetRequestMessage(Pop3Commands.Noop);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.