javax.microedition.ipdr.callback.msg
Interface SessionStartInfo

All Superinterfaces:
MessageInfo

public interface SessionStartInfo
extends MessageInfo

The interface represents a SESSION_START message information.

Version:
1.0
Author:
Shai Gotlib

Method Summary
 int getAckSequenceInterval()
          Returns the acknowledge sequence interval
 int getAckTimeInterval()
          Returns the acknowledge time interval
 byte[] getDocumentId()
          Returns the document Id
 long getDroppedRecordCount()
          Returns the dropped record count
 int getExporterBootTime()
          Returns the exporter boot time (in seconds from epoch time)
 long getFirstRecordSequenceNumber()
          Returns the first record sequence number
 byte getSessionId()
          Returns the session Id
 boolean isPrimary()
          Returns true if the current collector is the primary else false
 
Methods inherited from interface javax.microedition.ipdr.callback.msg.MessageInfo
msgId, msgName, toString
 

Method Detail

getAckSequenceInterval

public int getAckSequenceInterval()
Returns the acknowledge sequence interval

Returns:
int - the acknowledge sequence interval

getAckTimeInterval

public int getAckTimeInterval()
Returns the acknowledge time interval

Returns:
int - the acknowledge time interval

getDocumentId

public byte[] getDocumentId()
Returns the document Id

Returns:
byte[] - the document Id

getDroppedRecordCount

public long getDroppedRecordCount()
Returns the dropped record count

Returns:
int - the dropped record count

getExporterBootTime

public int getExporterBootTime()
Returns the exporter boot time (in seconds from epoch time)

Returns:
int - the exporter boot time (in seconds from epoch time)

getFirstRecordSequenceNumber

public long getFirstRecordSequenceNumber()
Returns the first record sequence number

Returns:
long - the first record sequence number

isPrimary

public boolean isPrimary()
Returns true if the current collector is the primary else false

Returns:
boolean - true if the current collector is the primary else false

getSessionId

public byte getSessionId()
Returns the session Id

Returns:
byte - the session Id