| Modifier and Type | Method and Description |
|---|---|
void |
SmppSessionHandler.fireRecoverablePduException(RecoverablePduException e)
Called when a "recoverable" exception has been thrown downstream in
the session's pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
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.fireRecoverablePduException(RecoverablePduException e) |
void |
PollableSmppSessionHandler.fireRecoverablePduException(RecoverablePduException e) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultSmppSession.assertValidRequest(PduRequest request) |
protected BaseBindResp |
DefaultSmppSession.bind(BaseBind request,
long timeoutInMillis) |
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 | Class and Description |
|---|---|
class |
TlvConvertException
Thrown when attempting to cast a TLV value into a different type such as a
byte, string, etc.
|
| 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 |
GenericNackException |
class |
NotEnoughDataInBufferException
Exception that represents more data is required in order to parse an SMPP PDU.
|
class |
SmppInvalidArgumentException
Thrown when an argument was used that is invalid.
|
class |
TerminatingNullByteNotFoundException |
class |
UnknownCommandIdException
Thrown when an unsupported or invalid Command ID was decoded.
|
| 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 | 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.
|
Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.