@Test public void testDeliverSm() { DeliverSm deliverSm = new DeliverSm(); deliverSm.sourceAddr = "31612345678"; deliverSm.sourceAddrTon = TypeOfNumber.INTERNATIONAL.value(); deliverSm.sourceAddrNpi = NumberingPlanIndicator.ISDN.value(); deliverSm.destAddress = "33600000000"; deliverSm.destAddrTon = TypeOfNumber.INTERNATIONAL.value(); deliverSm.destAddrNpi = NumberingPlanIndicator.ISDN.value(); deliverSm.setOptionalParameters( new OptionalParameter.Message_state((byte) 0x02), new OptionalParameter.Receipted_message_id("123456")); assertEquals(OptionalParameter.Message_state.Message_state_enum.DELIVERED, ((OptionalParameter.Message_state)deliverSm.getOptionalParameter(OptionalParameter.Tag.MESSAGE_STATE)).getMessageState()); assertEquals("123456", ((OptionalParameter.Receipted_message_id) deliverSm.getOptionalParameter(OptionalParameter.Tag.RECEIPTED_MESSAGE_ID)).getValueAsString()); }
public DeliverSm() { super(); }
DeliverSm extends MessageRequest { public DeliverSm() { super(); } }
DeliverSm extends MessageRequest { public DeliverSm() { super(); } DeliverSm(); }
DeliverSm extends MessageRequest { public DeliverSm() { super(); } DeliverSm(); String getId(); void setId(String id); DeliveryReceipt getShortMessageAsDeliveryReceipt(); T getDeliveryReceipt(DeliveryReceiptStrip<T> stripper); boolean isSmscDeliveryReceipt(); void setSmscDeliveryReceipt(); boolean isSmeManualAcknowledgment(); void setSmeManualAcknowledgment(); boolean isConversationAbort(); void setConversationAbort(); boolean isIntermedietDeliveryNotification(); void setIntermedietDeliveryNotification(); boolean isSmeAckNotRequested(); void setSmeAckNotRequested(); boolean isSmeDeliveryAckRequested(); void setSmeDeliveryAckRequested(); boolean isSmeManualAckRequested(); void setSmeManualAckRequested(); boolean isSmeDeliveryAndManualAckRequested(); void setSmeDeliveryAndManualAckRequested(); static final boolean isSmscDeliveryReceipt(byte esmClass); static final byte composeSmscDeliveryReceipt(byte esmClass); static final boolean isSmeDeliveryAcknowledgment(byte esmClass); static final byte composeSmeDeliveryAcknowledgment(byte esmClass); static final boolean isSmeManualAcknowledgment(byte esmClass); static final byte composeSmeManualAcknowledgment(byte esmClass); static final boolean isConversationAbort(byte esmClass); static final byte composeConversationAbort(byte esmClass); static final boolean isIntermedietDeliveryNotification(byte esmClass); static final byte composeIntermedietDeliveryNotification(byte esmClass); static final boolean isSmeAckNotRequested(byte registeredDeliery); static final byte composeSmeAckNotRequested(byte registeredDelivery); static final boolean isSmeDeliveryAckRequested(byte registeredDeliery); static final byte composeSmeDeliveryAckRequested(byte registeredDelivery); static final boolean isSmeManualAckRequested(byte registeredDelivery); static final byte composeSmeManualAckRequested(byte registeredDelivery); static final boolean isSmeDeliveryAndManualAckRequested(byte registeredDelivery); static final byte composeSmeDeliveryAndManualAckRequested(byte registeredDelivery); }
DeliverSm extends MessageRequest { public DeliverSm() { super(); } DeliverSm(); String getId(); void setId(String id); DeliveryReceipt getShortMessageAsDeliveryReceipt(); T getDeliveryReceipt(DeliveryReceiptStrip<T> stripper); boolean isSmscDeliveryReceipt(); void setSmscDeliveryReceipt(); boolean isSmeManualAcknowledgment(); void setSmeManualAcknowledgment(); boolean isConversationAbort(); void setConversationAbort(); boolean isIntermedietDeliveryNotification(); void setIntermedietDeliveryNotification(); boolean isSmeAckNotRequested(); void setSmeAckNotRequested(); boolean isSmeDeliveryAckRequested(); void setSmeDeliveryAckRequested(); boolean isSmeManualAckRequested(); void setSmeManualAckRequested(); boolean isSmeDeliveryAndManualAckRequested(); void setSmeDeliveryAndManualAckRequested(); static final boolean isSmscDeliveryReceipt(byte esmClass); static final byte composeSmscDeliveryReceipt(byte esmClass); static final boolean isSmeDeliveryAcknowledgment(byte esmClass); static final byte composeSmeDeliveryAcknowledgment(byte esmClass); static final boolean isSmeManualAcknowledgment(byte esmClass); static final byte composeSmeManualAcknowledgment(byte esmClass); static final boolean isConversationAbort(byte esmClass); static final byte composeConversationAbort(byte esmClass); static final boolean isIntermedietDeliveryNotification(byte esmClass); static final byte composeIntermedietDeliveryNotification(byte esmClass); static final boolean isSmeAckNotRequested(byte registeredDeliery); static final byte composeSmeAckNotRequested(byte registeredDelivery); static final boolean isSmeDeliveryAckRequested(byte registeredDeliery); static final byte composeSmeDeliveryAckRequested(byte registeredDelivery); static final boolean isSmeManualAckRequested(byte registeredDelivery); static final byte composeSmeManualAckRequested(byte registeredDelivery); static final boolean isSmeDeliveryAndManualAckRequested(byte registeredDelivery); static final byte composeSmeDeliveryAndManualAckRequested(byte registeredDelivery);  }