java.lang.Object
org.praxislive.core.Packet
- All Implemented Interfaces:
Comparable<Packet>
- Direct Known Subclasses:
Call
Superclass of Call. Intended to allow future support for atomic Call bundles.
-
Method Summary
Modifier and TypeMethodDescriptionfinal intCompare Packets and order them by timeCode and ID.final intid()Get the ID of this Packet.final StringrootID()Get the ID of the Root component that this packet should be sent to.final longtime()Get the time that this Packet should be processed, relative toRootHub.getClock()
-
Method Details
-
time
public final long time()Get the time that this Packet should be processed, relative toRootHub.getClock()- Returns:
- long time
-
rootID
Get the ID of the Root component that this packet should be sent to.- Returns:
- String Root ID
-
id
public final int id()Get the ID of this Packet.- Returns:
- long ID
-
compareTo
Compare Packets and order them by timeCode and ID.- Specified by:
compareToin interfaceComparable<Packet>- Parameters:
obj-- Returns:
- int
-