| Package | Description |
|---|---|
| com.cloudhopper.smpp | |
| com.cloudhopper.smpp.impl | |
| com.cloudhopper.smpp.pdu | |
| com.cloudhopper.smpp.transcoder | |
| com.cloudhopper.smpp.type | |
| com.cloudhopper.smpp.util |
| Modifier and Type | Method and Description |
|---|---|
void |
SmppSessionHandler.fireUnrecoverablePduException(UnrecoverablePduException e)
Called when an "unrecoverable" exception has been thrown downstream in
the session's pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
SmppSession |
SmppClient.bind(SmppSessionConfiguration config,
SmppSessionHandler sessionHandler)
Binds a client to a remote SMPP endpoint by opening the socket, sending
a bind request, and waiting for a bind response.
|
EnquireLinkResp |
SmppSession.enquireLink(EnquireLink request,
long timeoutMillis)
Synchronously sends an "enquire_link" request to the remote endpoint and
waits for up to a specified number of milliseconds for a response.
|
com.cloudhopper.commons.util.windowing.WindowFuture<Integer,PduRequest,PduResponse> |
SmppSession.sendRequestPdu(PduRequest request,
long timeoutMillis,
boolean synchronous)
Main underlying method for sending a request PDU to the remote endpoint.
|
void |
SmppSession.sendResponsePdu(PduResponse response)
Main underlying method for sending a response PDU to the remote endpoint.
|
SubmitSmResp |
SmppSession.submit(SubmitSm request,
long timeoutMillis)
Synchronously sends a "submit" request to the remote endpoint and
waits for up to a specified number of milliseconds for a response.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultSmppSessionHandler.fireUnrecoverablePduException(UnrecoverablePduException e) |
void |
PollableSmppSessionHandler.fireUnrecoverablePduException(UnrecoverablePduException e) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultSmppSession.assertValidRequest(PduRequest request) |
protected BaseBindResp |
DefaultSmppSession.bind(BaseBind request,
long timeoutInMillis) |
SmppSession |
DefaultSmppClient.bind(SmppSessionConfiguration config) |
SmppSession |
DefaultSmppClient.bind(SmppSessionConfiguration config,
SmppSessionHandler sessionHandler) |
protected BaseBind |
DefaultSmppClient.createBindRequest(SmppSessionConfiguration config) |
protected void |
DefaultSmppClient.doBind(DefaultSmppSession session,
SmppSessionConfiguration config,
SmppSessionHandler sessionHandler) |
EnquireLinkResp |
DefaultSmppSession.enquireLink(EnquireLink request,
long timeoutInMillis) |
protected PduResponse |
DefaultSmppSession.sendRequestAndGetResponse(PduRequest requestPdu,
long timeoutInMillis)
Sends a PDU request and gets a PDU response that matches its sequence #.
|
com.cloudhopper.commons.util.windowing.WindowFuture<Integer,PduRequest,PduResponse> |
DefaultSmppSession.sendRequestPdu(PduRequest pdu,
long timeoutMillis,
boolean synchronous) |
void |
DefaultSmppSession.sendResponsePdu(PduResponse pdu)
Asynchronously sends a PDU and does not wait for a response PDU.
|
SubmitSmResp |
DefaultSmppSession.submit(SubmitSm request,
long timeoutInMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
CancelSm.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
CancelSmResp.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
DataSm.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
QuerySmResp.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
QuerySm.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseSmResp.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseSm.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseBindResp.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseBind.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
GenericNack.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
EmptyBodyResp.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
EmptyBody.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
abstract void |
Pdu.readBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
Pdu.readOptionalParameters(org.jboss.netty.buffer.ChannelBuffer buffer,
PduTranscoderContext context) |
void |
CancelSm.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
CancelSmResp.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
DataSm.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
QuerySmResp.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
QuerySm.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseSmResp.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseSm.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseBindResp.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
BaseBind.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
GenericNack.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
EmptyBodyResp.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
EmptyBody.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
abstract void |
Pdu.writeBody(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
Pdu.writeOptionalParameters(org.jboss.netty.buffer.ChannelBuffer buffer,
PduTranscoderContext context) |
| Modifier and Type | Method and Description |
|---|---|
Pdu |
DefaultPduTranscoder.decode(org.jboss.netty.buffer.ChannelBuffer buffer) |
Pdu |
PduTranscoder.decode(org.jboss.netty.buffer.ChannelBuffer buffer)
Decodes a ChannelBuffer into a new PDU.
|
protected Pdu |
DefaultPduTranscoder.doDecode(int commandLength,
org.jboss.netty.buffer.ChannelBuffer buffer) |
org.jboss.netty.buffer.ChannelBuffer |
DefaultPduTranscoder.encode(Pdu pdu) |
org.jboss.netty.buffer.ChannelBuffer |
PduTranscoder.encode(Pdu pdu)
Encodes a PDU into a new ChannelBuffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SmppBindException
Thrown only when a "bind" attempt fails and a BaseBindResp was returned.
|
class |
UnexpectedPduResponseException |
| Modifier and Type | Method and Description |
|---|---|
void |
Address.read(org.jboss.netty.buffer.ChannelBuffer buffer) |
void |
Address.write(org.jboss.netty.buffer.ChannelBuffer buffer) |
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidSequenceNumberException
Thrown if a sequence number is not valid.
|
| Modifier and Type | Method and Description |
|---|---|
static Address |
ChannelBufferUtil.readAddress(org.jboss.netty.buffer.ChannelBuffer buffer)
Read and create a new Address from a buffer.
|
static void |
ChannelBufferUtil.writeAddress(org.jboss.netty.buffer.ChannelBuffer buffer,
Address value)
Writes an address to a buffer.
|
static void |
ChannelBufferUtil.writeNullTerminatedString(org.jboss.netty.buffer.ChannelBuffer buffer,
String value)
Writes a C-String (null terminated) to a buffer.
|
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.