javax.microedition.ipdr.callback.msg
Interface DataInfo

All Superinterfaces:
MessageInfo

public interface DataInfo
extends MessageInfo

The interface represents a data message information.

Version:
1.0
Author:
Shai Gotlib

Method Summary
 short getConfigId()
          Returns the ConfigId The configId is the Identifier of a specific Template Set Configuration.
 long getDataSeqNo()
          Returns the data sequence number The sequence number is a relative to a Session.
 byte getSessionId()
          Returns the SessionId Identifies the Session with which the Message is associated.
 short getTemplateId()
          Returns the TemplateId The Template ID in the DataInfo Message refers to a Template Identifier previously sent by the Exporter on a TemplateDataInfo Message.
 boolean isDuplicateFlag()
          Returns Wheteher isDuplicateFlag set if set indicates that this record was previously sent to another Collector which failed to acknowledge its receipt.
 
Methods inherited from interface javax.microedition.ipdr.callback.msg.MessageInfo
msgId, msgName, toString
 

Method Detail

getConfigId

public short getConfigId()
Returns the ConfigId The configId is the Identifier of a specific Template Set Configuration. It is changed whenever the Template Set Configuration is changed. It is set to 0 if unused.

Returns:
ConfigId (short value)

getDataSeqNo

public long getDataSeqNo()
Returns the data sequence number The sequence number is a relative to a Session. It increases by one for each accounting record sent. The number begins at 0 when a new Session Document is initiated.

Returns:
data sequence number (long value)

getTemplateId

public short getTemplateId()
Returns the TemplateId The Template ID in the DataInfo Message refers to a Template Identifier previously sent by the Exporter on a TemplateDataInfo Message. This describes the Fields, their order and Type and is used to define the augmented XDR encoding applied to construct the binary dataRecord.

Returns:
TemplateId (short value)

isDuplicateFlag

public boolean isDuplicateFlag()
Returns Wheteher isDuplicateFlag set if set indicates that this record was previously sent to another Collector which failed to acknowledge its receipt.

Returns:
true if duplicate flag was set or false otherwise.

getSessionId

public byte getSessionId()
Returns the SessionId Identifies the Session with which the Message is associated.

Returns:
The SessionId (byte value)