javax.microedition.ipdr.callback.msg
Interface ResponseInfo

All Superinterfaces:
MessageInfo

public interface ResponseInfo
extends MessageInfo

The interface represents a RESPONSE 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 isSuccessFlag()
          Returns true if request successfully fulfilled
 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

isSuccessFlag

public boolean isSuccessFlag()
Returns true if request successfully fulfilled

Returns:
boolean

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