public class SomPumiceMessage extends SomPumiceObject implements SomPumiceHandler
errortext, somSession
Constructor and Description |
---|
SomPumiceMessage(SomPumiceSession session,
java.lang.String[] pairs)
Create a new SomPumiceMessage object, populating it with data
|
SomPumiceMessage(SomPumiceSession session,
java.lang.String mbx,
java.lang.Integer s)
Create a new SomPumiceMessage object
|
SomPumiceMessage(SomPumiceSession session,
java.lang.String mbx,
java.lang.Integer s,
java.lang.String[] pairs)
Create a new SomPumiceMessage object, populating it with data
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
age() |
java.lang.String |
buildInfoString() |
void |
delete(SomCommandListener listener) |
void |
forward(SomCommandListener listener,
java.lang.String recip,
java.lang.String coverNote) |
void |
handleBindResponse(int status,
java.lang.String detail)
Handle the response to a Bind operation
|
void |
handleResponse(SomCommand obj,
int status,
SomMessage msg) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceConnection object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMailbox object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMessage object) |
void |
handleResponse(SomCommand command,
int status,
SomPumiceMessageStore object) |
void |
handleResponse(SomCommand command,
int status,
java.lang.String detail)
Generic command response handler
|
void |
handleResponse(SomCommand command,
int status,
java.lang.String[] pairs) |
java.lang.String |
ipmType() |
java.lang.String |
mailboxPath() |
void |
move(SomCommandListener listener,
java.lang.String destMailbox) |
java.lang.String |
mtsIdentifier() |
java.lang.String |
originator() |
java.lang.String |
priority() |
void |
refresh(SomCommandListener listener) |
void |
removeFromArray(java.util.ArrayList<SomPumiceMessage> messages) |
java.lang.Integer |
sequenceNumber() |
void |
setState(SomCommandListener listener,
java.lang.String newState) |
java.lang.Integer |
size() |
java.lang.String |
state() |
java.lang.String |
subject() |
java.lang.String |
type() |
java.lang.String |
uniqueId() |
addAttribute, addAttribute, addBindListener, clearAttributes, getBooleanAttributeValue, getIntegerAttributeValue, getSession, getStringAttributeValue, notifyBindListeners, notifyListener, notifyListeners, notifyListeners, notifyListeners, parsePairs, print, removeBindListener, setSkipNotifications
public SomPumiceMessage(SomPumiceSession session, java.lang.String mbx, java.lang.Integer s)
session
- Session within which to create messagembx
- Name of mailbox containing messages
- Sequence number of messagepublic SomPumiceMessage(SomPumiceSession session, java.lang.String mbx, java.lang.Integer s, java.lang.String[] pairs)
session
- Session within which to create messagembx
- Name of mailbox containing messages
- Sequence number of messagepairs
- Data type/value pairspublic SomPumiceMessage(SomPumiceSession session, java.lang.String[] pairs)
session
- Session within which to create messagepairs
- Data type/value pairspublic void removeFromArray(java.util.ArrayList<SomPumiceMessage> messages)
public java.lang.String uniqueId()
public void handleResponse(SomCommand command, int status, java.lang.String detail)
SomHandler
handleResponse
in interface SomPumiceHandler
handleResponse
in interface SomHandler
command
- the command to which the response appliesstatus
- status from commanddetail
- error detailpublic void handleResponse(SomCommand command, int status, SomPumiceMessageStore object)
public void handleResponse(SomCommand obj, int status, SomMessage msg)
public void handleResponse(SomCommand command, int status, SomPumiceMessage object)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand command, int status, SomPumiceConnection object)
handleResponse
in interface SomPumiceHandler
public void handleResponse(SomCommand command, int status, SomPumiceMailbox object)
handleResponse
in interface SomPumiceHandler
public void handleBindResponse(int status, java.lang.String detail)
SomHandler
handleBindResponse
in interface SomHandler
status
- operation statusdetail
- error detail on failurepublic void handleResponse(SomCommand command, int status, java.lang.String[] pairs)
handleResponse
in interface SomPumiceHandler
public void refresh(SomCommandListener listener) throws SomException
SomException
public void delete(SomCommandListener listener) throws SomException
SomException
public void move(SomCommandListener listener, java.lang.String destMailbox) throws SomException
SomException
public void setState(SomCommandListener listener, java.lang.String newState) throws SomException
SomException
public void forward(SomCommandListener listener, java.lang.String recip, java.lang.String coverNote) throws SomException
SomException
public java.lang.String buildInfoString()
public java.lang.String mailboxPath() throws SomException
SomException
public java.lang.Integer sequenceNumber() throws SomException
SomException
public java.lang.Integer size() throws SomException
SomException
public java.lang.Integer age() throws SomException
SomException
public java.lang.String type() throws SomException
SomException
public java.lang.String ipmType() throws SomException
SomException
public java.lang.String priority() throws SomException
SomException
public java.lang.String state() throws SomException
SomException
public java.lang.String originator() throws SomException
SomException
public java.lang.String subject() throws SomException
SomException
public java.lang.String mtsIdentifier() throws SomException
SomException
Version: 18.0v6-0
Copyright (c) 2017-2020 Isode