public class SmppMessage extends DefaultMessage
Message
for working with SMPPConstructor and Description |
---|
SmppMessage(org.jsmpp.bean.AlertNotification command,
SmppConfiguration configuration) |
SmppMessage(org.jsmpp.bean.DataSm dataSm,
SmppConfiguration configuration) |
SmppMessage(org.jsmpp.bean.DeliverSm command,
SmppConfiguration configuration) |
SmppMessage(SmppConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createBody()
A factory method to allow a provider to lazily create the message body
for inbound messages from other sources
|
org.jsmpp.bean.Command |
getCommand()
Returns the underlying jSMPP command
|
boolean |
isAlertNotification() |
boolean |
isDataSm() |
boolean |
isDeliverSm() |
boolean |
isDeliveryReceipt() |
SmppMessage |
newInstance()
Returns a new instance
|
String |
toString() |
addAttachment, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachments, setFault, setHeader, setHeaders
copy, copyAttachments, copyFrom, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageId
public SmppMessage(SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.AlertNotification command, SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.DeliverSm command, SmppConfiguration configuration)
public SmppMessage(org.jsmpp.bean.DataSm dataSm, SmppConfiguration configuration)
public SmppMessage newInstance()
MessageSupport
newInstance
in class DefaultMessage
public boolean isAlertNotification()
public boolean isDataSm()
public boolean isDeliverSm()
public boolean isDeliveryReceipt()
protected Object createBody()
MessageSupport
createBody
in class MessageSupport
public String toString()
toString
in class MessageSupport
public org.jsmpp.bean.Command getCommand()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.