|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.appia.protocols.total.sequencer.InfoMessage
public class InfoMessage
Class that defines the information to be stored in the buffer.
Constructor Summary | |
---|---|
InfoMessage(int o,
int e,
int s,
GroupSendableEvent ev)
Basic constructor |
Method Summary | |
---|---|
GroupSendableEvent |
getEvent()
returns the event. |
int |
getNSeq()
Returns the individual sequence number. |
int |
getOrder()
Returns the order |
int |
getSender()
Returns the sender of the message. |
boolean |
isEqual(int e,
int s)
Verifies if the sender and sequence number of the event are equal |
boolean |
isValid()
Verifies if the message is ready to be delivered to the layers above |
void |
setEvent(GroupSendableEvent e)
Sets the event of the message |
void |
setOrder(int o)
Sets the total order of the message |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InfoMessage(int o, int e, int s, GroupSendableEvent ev)
o
- total order of the messagee
- sender of the messages
- individual sequence numberev
- the event to be storedMethod Detail |
---|
public void setOrder(int o)
o
- total order of the messagepublic void setEvent(GroupSendableEvent e)
e
- the event to be storedpublic boolean isEqual(int e, int s)
e
- senders
- individual sequence numberpublic int getOrder()
public GroupSendableEvent getEvent()
public int getNSeq()
public int getSender()
public boolean isValid()
|
Appia Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |