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
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
ConstructorsConstructorDescriptionSomPumiceForwardMessageCommand
(SomPumiceSession session, String srcMbx, int seqNum, String[] dests, String note, SomPumiceHandler object, SomCommandListener listener) Create new command. -
Method Summary
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 Details
-
SomPumiceForwardMessageCommand
public SomPumiceForwardMessageCommand(SomPumiceSession session, String srcMbx, int seqNum, String[] dests, 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 Details
-
getCommandString
- Overrides:
getCommandString
in classSomCommand
- Returns:
- The command string to be sent over the wire.
- Throws:
SomException
- Indicating a problem with the command
-