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


Constructor Index

 o Acknowledgement()
Create an Acknowledgement to be deserialized.
 o Acknowledgement(Stack, iBusURL, iBusURL, long)
Create an Acknowledgement to be passed down stack s.

Method Index

 o getChannel()
Returns the URL of the channel the Acknowledgement is for.
 o getSeqNum()
return the sequence number of this heartbeat.
 o id()
Returns the identifier of this type of event.

Constructors

 o 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
 o Acknowledgement
 public Acknowledgement()
Create an Acknowledgement to be deserialized.

Methods

 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 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 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