All Packages Class Hierarchy This Package Previous Next Index
Class iBus.Acknowledgement
java.lang.Object
|
+----iBus.Event
|
+----iBus.Acknowledgement
- public class Acknowledgement
- extends Event
An Acknowledgement encapsulates a positive ack
-
Acknowledgement()
- Create an Acknowledgement to be deserialized.
-
Acknowledgement(Stack, iBusURL, iBusURL, long)
- Create an Acknowledgement to be passed down stack s.
-
getChannel()
- Returns the URL of the channel the Acknowledgement is for.
-
getSeqNum()
- return the sequence number of this heartbeat.
-
id()
- Returns the identifier of this type of event.
Acknowledgement
public Acknowledgement(Stack s,
iBusURL destination,
iBusURL channel,
long seqNum)
- Create an Acknowledgement to be passed down stack s.
- Parameters:
- s - the stack to carry the ack
- destination - the destination of the event
- channel - the URL of the channel the Acknowledgement is for
- seqNum - the sequence number to acknowledge
Acknowledgement
public Acknowledgement()
- Create an Acknowledgement to be deserialized.
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
getChannel
public iBusURL getChannel()
- Returns the URL of the channel the Acknowledgement is for.
- Returns:
- the URL of the channel the Acknowledgement is for
getSeqNum
public long getSeqNum()
- return the sequence number of this heartbeat.
- Returns:
- the sequence number of this heartbeat
All Packages Class Hierarchy This Package Previous Next Index