infoservice.mailsystem.central.commands
Class HelpCommand

java.lang.Object
  extended by infoservice.mailsystem.central.AbstractMailSystemCommand
      extended by infoservice.mailsystem.central.commands.HelpCommand

public class HelpCommand
extends AbstractMailSystemCommand

This is the implementation for generating a reply message for the GetHelp command.


Constructor Summary
HelpCommand(MailMessages a_localization)
          Creates a new instance of HelpCommand.
 
Method Summary
 void createReplyMessage(javax.mail.internet.MimeMessage a_receivedMessage, javax.mail.internet.MimeMessage a_replyMessage)
          Creates the reply for the GetHelp command.
 
Methods inherited from class infoservice.mailsystem.central.AbstractMailSystemCommand
getLocalization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpCommand

public HelpCommand(MailMessages a_localization)
Creates a new instance of HelpCommand.

Parameters:
a_localization - The MailMessages instance with the localization to use when creating the response message.
Method Detail

createReplyMessage

public void createReplyMessage(javax.mail.internet.MimeMessage a_receivedMessage,
                               javax.mail.internet.MimeMessage a_replyMessage)
                        throws java.lang.Exception
Creates the reply for the GetHelp command.

Specified by:
createReplyMessage in class AbstractMailSystemCommand
Parameters:
a_receivedMessage - The message we have received (not used).
a_replyMessage - A pre-initialized message (recipients and subject already set), which shall be filled with the GetHelp reply.
Throws:
java.lang.Exception