All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iBus.RetransmitReq

java.lang.Object
   |
   +----iBus.Event
           |
           +----iBus.RetransmitReq

public class RetransmitReq
extends Event
A RetransmitReq encpasulates a message retransmit request


Constructor Index

 o RetransmitReq()
Create a message retransmit request to be passed up the stack.
 o RetransmitReq(Stack, long, long, iBusURL, iBusURL)
Create a message retransmit request to be passed down the stack.

Method Index

 o equals(Object)
Compares two retransmit requests.
 o getChannel()
Returns the URL of the channel the Acknowledgement is for.
 o getFromSeq()
Return the start sequence number
 o getToSeq()
Return the end sequence number
 o id()
Returns the identifier of this type of event.
 o setFromSeq(long)
Set the start sequence number
 o setToSeq(long)
Set the end sequence number

Constructors

 o RetransmitReq
 public RetransmitReq(Stack stack,
                      long from,
                      long to,
                      iBusURL destination,
                      iBusURL channel)
Create a message retransmit request 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
 o RetransmitReq
 public RetransmitReq()
Create a message retransmit request to be passed up the stack. After deserializing, a stack and sender URL needs to be assigned to the object by setStack()/setSenderURL(), resp.

Methods

 o getFromSeq
 public long getFromSeq()
Return the start sequence number

Returns:
the start sequence number
 o setFromSeq
 public void setFromSeq(long f)
Set the start sequence number

Parameters:
f - the start sequence number
 o getToSeq
 public long getToSeq()
Return the end sequence number

Returns:
the end sequence number
 o setToSeq
 public void setToSeq(long t)
Set the end sequence number

Parameters:
t - the end sequence number
 o getChannel
 public iBusURL getChannel()
Returns the URL of the channel the Acknowledgement is for.

Returns:
the URL of the channel the Acknowledgement is for
 o 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
 o equals
 public boolean equals(Object rreq)
Compares two retransmit requests. Overrides Object.equals, necessary for Hashtable and Vector search operations.

Parameters:
rreq - the RetransmitReq to compare with
Returns:
true if they are equal, false otherwise.
Overrides:
equals in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index