public class SomMessageResubmitCommand extends SomQmgrCommand
opListener, opSession
Constructor and Description |
---|
SomMessageResubmitCommand(SomSession somSession,
SomQmgrHandler handler)
Create a new SOM message resubmission command
|
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(java.lang.String recipient) |
protected java.lang.String |
getCommandString() |
java.lang.String |
getFilename()
Get name of message
|
java.lang.String |
getOriginator()
Get originator address
|
java.lang.Integer |
getStatus() |
void |
processResponse(java.lang.String commandData,
byte[] bytedata,
int status)
Process a SOM command response, creating appropriate objects to hold data
from the response if necessary, and passing to the correct methods of
the handler object
|
void |
setFilename(java.lang.String filename)
Set name of message file to resubmit
|
void |
setOriginator(java.lang.String originator)
Set originator address for resubmission
|
void |
setStatus(java.lang.Integer status) |
getHandler
dispatch, getSession, notifyListener, notifyListener, notifyListener
public SomMessageResubmitCommand(SomSession somSession, SomQmgrHandler handler)
somSession
- Session for commandhandler
- Handler for resultpublic void setFilename(java.lang.String filename)
filename
- Name of message filepublic java.lang.String getFilename()
public void setOriginator(java.lang.String originator)
originator
- Email address of originator when message resubmittedpublic java.lang.String getOriginator()
public void addRecipient(java.lang.String recipient)
public void setStatus(java.lang.Integer status)
public java.lang.Integer getStatus()
protected java.lang.String getCommandString() throws SomException
getCommandString
in class SomCommand
SomException
- Indicating a problem with the commandpublic void processResponse(java.lang.String commandData, byte[] bytedata, int status)
SomQmgrCommand
processResponse
in interface SomResponseProcessor
processResponse
in class SomQmgrCommand
commandData
- The initial response stringbytedata
- The accompanying datastatus
- Status code for operationVersion: 18.0v6-0
Copyright (c) 2017-2020 Isode