|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cindy.packet.DelegatePacket
net.sf.cindy.packet.PriorityPacket
public class PriorityPacket
Implementation of Packet
, compared by priority and create
time.
Constructor Summary | |
---|---|
PriorityPacket(Packet packet,
int priority)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
|
java.lang.String |
toString()
|
Methods inherited from class net.sf.cindy.packet.DelegatePacket |
---|
getAddress, getContent, getDelegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PriorityPacket(Packet packet, int priority)
Method Detail |
---|
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class DelegatePacket
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |