Package com.isode.som.pumice
Class SomPumiceForwardMessageCommand
- java.lang.Object
-
- com.isode.som.SomCommand
-
- com.isode.som.pumice.SomPumiceCommand
-
- com.isode.som.pumice.SomPumiceForwardMessageCommand
-
- All Implemented Interfaces:
SomResponseProcessor
public class SomPumiceForwardMessageCommand extends SomPumiceCommand
Implements the SOM command which tells the Message Store to forward (i.e. resubmit) a message from the Message Store to another recipient.- Author:
- tc
-
-
Field Summary
-
Fields inherited from class com.isode.som.SomCommand
opListener
-
-
Constructor Summary
Constructors Constructor Description SomPumiceForwardMessageCommand(SomPumiceSession session, java.lang.String srcMbx, int seqNum, java.lang.String[] dests, java.lang.String note, SomPumiceHandler object, SomCommandListener listener)
Create new command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCommandString()
-
Methods inherited from class com.isode.som.pumice.SomPumiceCommand
getHandler, handleErrors, processResponse, quotesRound
-
Methods inherited from class com.isode.som.SomCommand
dispatch, getSession, notifyListener, notifyListener, notifyListener
-
-
-
-
Constructor Detail
-
SomPumiceForwardMessageCommand
public SomPumiceForwardMessageCommand(SomPumiceSession session, java.lang.String srcMbx, int seqNum, java.lang.String[] dests, java.lang.String note, SomPumiceHandler object, SomCommandListener listener)
Create new command.- Parameters:
session
- SOM session for commandsrcMbx
- Identifies the source mailbox (ORAddress)seqNum
- Sequence number of message within mailboxdests
- Array of destination addresses (string encoded ORAddresses)note
- Cover note - forms an IA5 bodypart in forwarding messageobject
- Handler object for resultlistener
- Listener for result
-
-
Method Detail
-
getCommandString
public java.lang.String getCommandString() throws SomException
- Overrides:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
- Throws:
SomException
- Indicating a problem with the command
-
-