infoservice.mailsystem.central.commands
Class BanWarningCommand

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

public class BanWarningCommand
extends AbstractMailSystemCommand

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


Constructor Summary
BanWarningCommand(MailMessages a_localization)
          Creates a new instance of BanWarningCommand.
 
Method Summary
 void createReplyMessage(javax.mail.internet.MimeMessage a_receivedMessage, javax.mail.internet.MimeMessage a_replyMessage)
          Creates the reply for the BanWarning 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

BanWarningCommand

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

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 BanWarning 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 BanWarning reply.
Throws:
java.lang.Exception