Package org.apache.camel.component.smpp
Class SmppNLSTSplitter
java.lang.Object
org.apache.camel.component.smpp.SmppSplitter
org.apache.camel.component.smpp.SmppNLSTSplitter
Splitter for messages use National Language Lock Table
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum length in chars of the NLI messages.static final intprotected static final intThe length of the NLI headerprotected static final intThe element identifier value for the National Language Locking Tableprotected static final intThe length of the UDH for splitted short messages, in bytes. 0x08 Overall header length 0x00 The value that identifier length of the SAR fragment. (8bit reference number only) 0x03 The length of the SAR fragment 0xXX The reference number for SAR 0xXX Total number of splitted / segmented messages 0xXX Segment number 0x25 National language locking shift element identifier 0x01 Length of the header 0xXX Locking shift table indicator for the Language (ie: 0x01 for Turkish)protected static final intThe real length of the UDH for segmentet short messagesprotected static final intThe length of the UDH for single short message in bytes. 0x25 - UDHIE_NLI_IDENTIFIER 0x01 - Length of the header 0xXX - Locking shift table indicator the Languageprotected static final intThe real length of the UDH for single short messageFields inherited from class org.apache.camel.component.smpp.SmppSplitter
MAX_MSG_BYTE_LENGTH, MAX_SEG_COUNT, UDHIE_HEADER_LENGTH, UDHIE_HEADER_REAL_LENGTH, UDHIE_IDENTIFIER_SAR, UDHIE_SAR_LENGTH, UDHIE_SAR_REF_NUM_LENGTH -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.component.smpp.SmppSplitter
getCurrentLength, getCurrentReferenceNumber, getMessageLength, getReferenceNumber, getSegmentLength, isSplitRequired, resetCurrentReferenceNumber
-
Field Details
-
UDHIE_NLI_SINGLE_MSG_HEADER_LENGTH
protected static final int UDHIE_NLI_SINGLE_MSG_HEADER_LENGTHThe length of the UDH for single short message in bytes. 0x25 - UDHIE_NLI_IDENTIFIER 0x01 - Length of the header 0xXX - Locking shift table indicator the Language- See Also:
-
UDHIE_NLI_SINGLE_MSG_HEADER_REAL_LENGTH
protected static final int UDHIE_NLI_SINGLE_MSG_HEADER_REAL_LENGTHThe real length of the UDH for single short message- See Also:
-
UDHIE_NLI_MULTI_MSG_HEADER_LENGTH
protected static final int UDHIE_NLI_MULTI_MSG_HEADER_LENGTHThe length of the UDH for splitted short messages, in bytes. 0x08 Overall header length 0x00 The value that identifier length of the SAR fragment. (8bit reference number only) 0x03 The length of the SAR fragment 0xXX The reference number for SAR 0xXX Total number of splitted / segmented messages 0xXX Segment number 0x25 National language locking shift element identifier 0x01 Length of the header 0xXX Locking shift table indicator for the Language (ie: 0x01 for Turkish)- See Also:
-
UDHIE_NLI_MULTI_MSG_HEADER_REAL_LENGTH
protected static final int UDHIE_NLI_MULTI_MSG_HEADER_REAL_LENGTHThe real length of the UDH for segmentet short messages- See Also:
-
UDHIE_NLI_IDENTIFIER
protected static final int UDHIE_NLI_IDENTIFIERThe element identifier value for the National Language Locking Table- See Also:
-
UDHIE_NLI_HEADER_LENGTH
protected static final int UDHIE_NLI_HEADER_LENGTHThe length of the NLI header- See Also:
-
MAX_MSG_CHAR_SIZE
public static final int MAX_MSG_CHAR_SIZEThe maximum length in chars of the NLI messages. Each letter will be represented as 7 bit (like GSM8)- See Also:
-
MAX_SEG_BYTE_SIZE
public static final int MAX_SEG_BYTE_SIZE- See Also:
-
-
Constructor Details
-
SmppNLSTSplitter
public SmppNLSTSplitter(int currentLength, byte languageIdentifier)
-
-
Method Details
-
split
public byte[][] split(byte[] message) - Overrides:
splitin classSmppSplitter
-