public class SmppSessionUtil extends Object
| Constructor and Description |
|---|
SmppSessionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertExpectedResponse(PduRequest request,
PduResponse response)
Asserts that a PDU response matches a PDU request.
|
static void |
close(SmppSession session) |
public static void close(SmppSession session)
public static void assertExpectedResponse(PduRequest request, PduResponse response) throws GenericNackException, UnexpectedPduResponseException
request - The PDU requestresponse - The PDU responseGenericNackException - Thrown if the response was a "Generic_Nack"UnexpectedPduResponseException - Thrown if the response type did
not match the request type. For example, if the request was a
"submit_sm", but the response was "data_sm_resp".Copyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.