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
-
RetransmitReq()
- Create a message retransmit request to be passed up the stack.
-
RetransmitReq(Stack, long, long, iBusURL, iBusURL)
- Create a message retransmit request to be passed down the stack.
-
equals(Object)
- Compares two retransmit requests.
-
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
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
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.
getFromSeq
public long getFromSeq()
- Return the start sequence number
- Returns:
- the start sequence number
setFromSeq
public void setFromSeq(long f)
- Set the start sequence number
- Parameters:
- f - the start sequence number
getToSeq
public long getToSeq()
- Return the end sequence number
- Returns:
- the end sequence number
setToSeq
public void setToSeq(long t)
- Set the end sequence number
- Parameters:
- t - 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
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