|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.smpp.SmppBinding
public class SmppBinding
A Strategy used to convert between a Camel Exchange
and
SmppMessage
to and from a SMPP Command
Constructor Summary | |
---|---|
SmppBinding()
|
|
SmppBinding(SmppConfiguration configuration)
|
Method Summary | |
---|---|
SmppCommand |
createSmppCommand(org.jsmpp.session.SMPPSession session,
org.apache.camel.Exchange exchange)
Create the SmppCommand object from the inbound exchange |
SmppMessage |
createSmppMessage(org.jsmpp.bean.AlertNotification alertNotification)
Create a new SmppMessage from the inbound alert notification |
SmppMessage |
createSmppMessage(org.jsmpp.bean.DataSm dataSm,
String smppMessageId)
|
SmppMessage |
createSmppMessage(org.jsmpp.bean.DeliverSm deliverSm)
Create a new SmppMessage from the inbound deliver sm or deliver receipt |
SmppConfiguration |
getConfiguration()
Returns the smpp configuration |
void |
setConfiguration(SmppConfiguration configuration)
Set the smpp configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmppBinding()
public SmppBinding(SmppConfiguration configuration)
Method Detail |
---|
public SmppCommand createSmppCommand(org.jsmpp.session.SMPPSession session, org.apache.camel.Exchange exchange)
UnsupportedEncodingException
- if the encoding is not supportedpublic SmppMessage createSmppMessage(org.jsmpp.bean.AlertNotification alertNotification)
public SmppMessage createSmppMessage(org.jsmpp.bean.DeliverSm deliverSm) throws Exception
Exception
public SmppMessage createSmppMessage(org.jsmpp.bean.DataSm dataSm, String smppMessageId)
public SmppConfiguration getConfiguration()
public void setConfiguration(SmppConfiguration configuration)
configuration
- smppConfiguration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |