org.mobicents.protocols.smpp.gsm
Class RecurringHeaderElement
java.lang.Object
org.mobicents.protocols.smpp.gsm.AbstractHeaderElement
org.mobicents.protocols.smpp.gsm.RecurringHeaderElement
- All Implemented Interfaces:
- HeaderElement
- Direct Known Subclasses:
- ConcatenatedSms, PortAddressing16, PortAddressing8
public abstract class RecurringHeaderElement
- extends AbstractHeaderElement
Class representing a header element that may recur in multiple
segments. Concatenation information must always occur across each
segment so that the segments can be reassembled. Most other header
elements do not recur, however the specification does allow some
elements to optionally recur, such as port addressing.
- Version:
- $Id: RecurringHeaderElement.java 484 2010-02-08 16:08:50Z orank $
|
Method Summary |
boolean |
isRecurring()
Determine if this header element should be included in the header
of each message in a concatenated message. |
RecurringHeaderElement
public RecurringHeaderElement(boolean recur)
- Create a new recurring header element.
- Parameters:
recur - true if this header element recurs in multiple
segments, false if it should only occur once.
isRecurring
public boolean isRecurring()
- Description copied from interface:
HeaderElement
- Determine if this header element should be included in the header
of each message in a concatenated message. For example, concatenation
information must appear in every segment. Usually, other header
element implementations will simply return false from here.
- Specified by:
isRecurring in interface HeaderElement- Overrides:
isRecurring in class AbstractHeaderElement
- Returns:
- true if this header element will be included in
each message of a concatenated message, false if it
only needs to occur in one segment.
Copyright © 2011 Mobicents. All Rights Reserved.