javax.microedition.ipdr.callback.msg
Interface SessionStopInfo

All Superinterfaces:
MessageInfo

public interface SessionStopInfo
extends MessageInfo

The interface represents a SESSION_STOP message information.

Version:
1.0
Author:
Shai Gotlib

Method Summary
 short getReasonCode()
          Returns the reason code values of 0-255 are reserved for IPDR/SP standard reason codes.
 java.lang.String getReasonInfo()
          Returns the reason information
 byte getSessionId()
          Returns the session Id
 
Methods inherited from interface javax.microedition.ipdr.callback.msg.MessageInfo
msgId, msgName, toString
 

Method Detail

getReasonCode

public short getReasonCode()
Returns the reason code values of 0-255 are reserved for IPDR/SP standard reason codes. Values of > 255 may be used for vendor-specific codes. 0 = end of data for session 1 = handing off to higher priority Collector 2 = Exporter terminating 3 = congestion detected 4 = renegotiation is required 5 = start negotiation acknowledge 6 = end of IPDRDoc 7 = Template data was updated

Returns:
short - the reason code

getReasonInfo

public java.lang.String getReasonInfo()
Returns the reason information

Returns:
String - the reason information

getSessionId

public byte getSessionId()
Returns the session Id

Returns:
byte - the session Id