All Packages Class Hierarchy This Package Previous Next Index
Class iBus.LostMessage
java.lang.Object
|
+----iBus.Event
|
+----iBus.LostMessage
- public class LostMessage
- extends Event
A LostMessage encpasulates the sequence numbers of lost messages
-
LostMessage()
- Create a void LostMessage object to be deserialized
-
LostMessage(Stack, long, long, iBusURL, iBusURL)
- Create a lost message event to be passed down the stack.
-
getChannel()
- Returns the URL of the channel the Acknowledgement is for.
-
getFromSeq()
- Return the start sequence number
-
getToSeq()
- Return the end sequence number
-
id()
- Returns the identifier of this type of event.
-
setFromSeq(long)
- Set the start sequence number.
-
setToSeq(long)
- Set the end sequence number.
LostMessage
public LostMessage(Stack stack,
long from,
long to,
iBusURL destination,
iBusURL channel)
- Create a lost message event to be passed down the stack.
- Parameters:
- stack - the creator stack
- from - start sequence number
- to - end sequence number
- destination - the destination of the event
- channel - the URL of the channel the Acknowledgement is for
LostMessage
public LostMessage()
- Create a void LostMessage object to be deserialized
setFromSeq
public void setFromSeq(long seqNum)
- Set the start sequence number.
- Parameters:
- seqNum - the start sequence number
getFromSeq
public long getFromSeq()
- Return the start sequence number
- Returns:
- the start sequence number
setToSeq
public void setToSeq(long seqNum)
- Set the end sequence number.
- Parameters:
- seqNum - the start sequence number
getToSeq
public long getToSeq()
- Return the end sequence number
- Returns:
- the end sequence number
getChannel
public iBusURL getChannel()
- Returns the URL of the channel the Acknowledgement is for.
- Returns:
- the URL of the channel the Acknowledgement is for
id
public int id()
- Returns the identifier of this type of event.
- Returns:
- the identifier of this type of event
- Overrides:
- id in class Event
All Packages Class Hierarchy This Package Previous Next Index