javax.microedition.ipdr.callback.msg
Interface RequestInfo

All Superinterfaces:
MessageInfo

public interface RequestInfo
extends MessageInfo

The interface represents a REQUEST 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.
 java.util.Hashtable getData()
          Returns the data as Key and Value pair inside an Hashtable The Key type of String and the Value type is template dependent
 long getRequestId()
          Returns the request Id
 byte getSessionId()
          Returns the session Id
 short getTemplateId()
          Returns the template Id
 boolean isDuplicateFlag()
          Returns true if the duplicate flag was raised
 boolean isResponseRequired()
          Returns true if response is required
 void setTemplate(TemplateConfig template)
          Sets the template configuration.
 
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)

getData

public java.util.Hashtable getData()
                            throws DataException
Returns the data as Key and Value pair inside an Hashtable The Key type of String and the Value type is template dependent

Returns:
Hashtable The Key type of String and the Value type is template dependent
Throws:
DataException

getRequestId

public long getRequestId()
Returns the request Id

Returns:
long the request Id

getTemplateId

public short getTemplateId()
Returns the template Id

Returns:
long the template Id

isDuplicateFlag

public boolean isDuplicateFlag()
Returns true if the duplicate flag was raised

Returns:
boolean true if the duplicate flag was raised else false

isResponseRequired

public boolean isResponseRequired()
Returns true if response is required

Returns:
boolean true if response is required else false

getSessionId

public byte getSessionId()
Returns the session Id

Returns:
byte the session Id

setTemplate

public void setTemplate(TemplateConfig template)
Sets the template configuration.

Parameters:
template - the template configuration
Returns:
void