|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Packet in yass.database |
|---|
| Fields in yass.database declared as Packet | |
|---|---|
private Packet |
PacketGeneratedEvent.packet
The packet which was generated |
private Packet |
PacketReceivedEvent.packet
The received packet |
| Methods in yass.database that return Packet | |
|---|---|
Packet |
PacketGeneratedEvent.getPacket()
Obtains the packet which was generated |
Packet |
PacketReceivedEvent.getPacket()
Obtains the received packet |
| Constructors in yass.database with parameters of type Packet | |
|---|---|
PacketGeneratedEvent(Packet packet)
Creates a new instance of PacketGeneratedEvent |
|
PacketReceivedEvent(Packet packet,
Node receiver)
Creates a new instance of PacketReceivedEvent |
|
| Uses of Packet in yass.gossip |
|---|
| Methods in yass.gossip with parameters of type Packet | |
|---|---|
void |
BoostDistanceFromSourceGossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
void |
BoostDistanceToDestinationGossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
void |
BoostHopsTraversedGossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
void |
BoostTimeFromCreationGossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
void |
GossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
void |
IggAngleGossipPacketConsumer.accept(Packet packet)
Probabilisticly rebroadcast a packet. |
void |
IggDistanceGossipPacketConsumer.accept(Packet packet)
Probabilisticly rebroadcast a packet. |
void |
PathBoundedGossipPacketConsumer.accept(Packet packet)
Rebroadcasts with a given probability. |
protected void |
BoostDistanceFromSourceGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
BoostDistanceToDestinationGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
BoostHopsTraversedGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
BoostTimeFromCreationGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
GossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
IggAngleGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
IggDistanceGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
protected void |
PathBoundedGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
| Uses of Packet in yass.igf |
|---|
| Subclasses of Packet in yass.igf | |
|---|---|
class |
IgfPacket
Representation of an IGF-specific packet which is to be passed around a network. |
| Methods in yass.igf that return Packet | |
|---|---|
Packet |
IgfPacket.copy()
Copies this packet, supplying an object representing a distinct instance of the same packet. |
| Methods in yass.igf with parameters of type Packet | |
|---|---|
void |
IgfPacketConsumer.accept(Packet packet)
Examines the supplied packet and forwards it for further processing. |
boolean |
IgfPacketInterestPolicy.isInterested(Packet packet,
boolean headerAvailable,
boolean payloadAvailable)
Decides if the owning node is interested in receiving a given packet. |
PacketScheduleEntry |
IgfPacketScheduler.reschedule(Packet packet)
Informs the packet scheduler that previous attempts were unsuccessful in transmitting the scheduled packet, and that it should be rescheduled for another attempt. |
PacketScheduleEntry |
IgfPacketScheduler.schedule(Packet applicationPacket)
Accepts the supplied packet and schedules it for later transmission. |
| Uses of Packet in yass.modularforwarding.gossip |
|---|
| Methods in yass.modularforwarding.gossip with parameters of type Packet | |
|---|---|
void |
ModularGossipPacketConsumer.accept(Packet packet)
Probabilisticly rebroadcast a packet. |
protected void |
ModularGossipPacketConsumer.rebroadcast(Packet packet)
Enqueues the supplied packet for rebroadcast to each of the broadcasting node's neighbour nodes |
| Uses of Packet in yass.modularforwarding.scoring |
|---|
| Methods in yass.modularforwarding.scoring with parameters of type Packet | |
|---|---|
double |
ConstantScoreGenerator.score(Packet packet)
Generates a score for the specified packet by simply returning a predefined constant score. |
double |
DistanceFromSourceScoreGenerator.score(Packet packet)
Calculates the rebroadcast candidate suitability score for the specified packet. |
double |
DistanceToDestinationScoreGenerator.score(Packet packet)
Calculates the rebroadcast candidate suitability score for the specified packet. |
double |
GlobalAngleScoreGenerator.score(Packet packet)
Calculates a score for the specified packet. |
double |
HopcountTraversedScoreGenerator.score(Packet packet)
Calculates a candidacy score for the specified packet for the node on which the score generator instance is executing. |
double |
HopcountTtlScoreGenerator.score(Packet packet)
Calculates a candidacy score for the specified packet for the node on which the score generator instance is executing. |
double |
LocalAngleScoreGenerator.score(Packet packet)
Calculates a score for the specified packet. |
double |
RandomScoreGenerator.score(Packet packet)
Randomly generate a score between the permitted minimum and maximum levels. |
abstract double |
ScoreGenerator.score(Packet packet)
Calculates the rebroadcast candidate suitability score for the specified packet. |
double |
ScoreManager.score(Packet packet)
Examines the supplied packet and generates a candidacy score in the interval [0,1], where higher scores indicate greater suitability. |
double |
TimeElapsedScoreGenerator.score(Packet packet)
Calculates the score for the supplied packet in the interval [0,1] by comparing the current remaining time value against the effective range specified for this score generator. |
double |
TimeRemainingScoreGenerator.score(Packet packet)
Calculates the score for the supplied packet in the interval [0,1] by comparing the current elapsed time value against the effective range specified for this score generator. |
| Uses of Packet in yass.network |
|---|
| Methods in yass.network with parameters of type Packet | |
|---|---|
void |
Node.acceptReceivedPacket(Packet packet)
Forwards a received Packet to the PacketConsumer chain-of-command, after amending the packet to include this Node in its Route |
| Uses of Packet in yass.packet |
|---|
| Methods in yass.packet that return Packet | |
|---|---|
Packet |
Packet.copy()
Copies this packet, supplying an object representing a distinct instance of the same packet. |
| Uses of Packet in yass.packet.cache |
|---|
| Fields in yass.packet.cache with type parameters of type Packet | |
|---|---|
protected java.util.Collection<Packet> |
SeenPacketCache.seenPacketCache
The collection of packets seen by the owner node |
| Methods in yass.packet.cache that return types with arguments of type Packet | |
|---|---|
java.util.Collection<Packet> |
SeenPacketCache.getSeenPacketCache()
Obtains an unmodifiable copy of the seen-packet cache |
| Methods in yass.packet.cache with parameters of type Packet | |
|---|---|
protected boolean |
SeenPacketCache.forgetPacket(Packet packet)
Removes the specified packet from the seen-packet cache |
boolean |
SeenPacketCache.isCached(Packet packet)
Discovers if the seen-packet cache contains the specified packet |
boolean |
BoundedFifoSeenPacketCache.registerPacket(Packet packet)
Inform the seen-packet cache that another packet has been heard by the owning node. |
abstract boolean |
SeenPacketCache.registerPacket(Packet packet)
Inform the seen-packet cache that another packet has been heard by the owning node |
boolean |
UnboundedSeenPacketCache.registerPacket(Packet packet)
Inform the seen-packet cache that another packet has been heard by the owning node |
boolean |
BoundedFifoSeenPacketCache.updateCacheEntry(Packet packet)
Updates the existing cache entry for the specified packet. |
abstract boolean |
SeenPacketCache.updateCacheEntry(Packet packet)
Updates the existing cache entry for the specified packet. |
boolean |
UnboundedSeenPacketCache.updateCacheEntry(Packet packet)
Updates the existing cache entry for the specified packet. |
| Uses of Packet in yass.packet.interest |
|---|
| Methods in yass.packet.interest with parameters of type Packet | |
|---|---|
boolean |
AlwaysInterestedNodePacketInterestPolicy.isInterested(Packet packet,
boolean headerAvailable,
boolean payloadAvailable)
Decides if the owning node is interested in receiving a given packet. |
boolean |
NeverInterestedNodePacketInterestPolicy.isInterested(Packet packet,
boolean headerAvailable,
boolean payloadAvailable)
Decides if the owning node is interested in receiving a given packet. |
abstract boolean |
NodePacketInterestPolicy.isInterested(Packet packet,
boolean headerAvailable,
boolean payloadAvailable)
Decides if the owning node is interested in receiving a given packet. |
boolean |
UnknownHeaderNodePacketInterestPolicy.isInterested(Packet packet,
boolean headerAvailable,
boolean payloadAvailable)
Decides if the owning node is interested in receiving a given packet. |
| Uses of Packet in yass.packet.schedule |
|---|
| Fields in yass.packet.schedule declared as Packet | |
|---|---|
private Packet |
PacketScheduleEntry.packet
The packet which has been scheduled for delivery |
| Methods in yass.packet.schedule that return Packet | |
|---|---|
Packet |
PacketScheduleEntry.getPacket()
Obtains the scheduled packet |
| Methods in yass.packet.schedule with parameters of type Packet | |
|---|---|
protected boolean |
PacketScheduler.dropScheduleEntry(Packet packet)
Drops the schedule entry for a given packet. |
protected PacketScheduleEntry |
PacketScheduler.findScheduleEntry(Packet packet)
Obtains the PacketScheduleEntry corresponding to a given packet, or null if no such PacketScheduleEntry exists. |
PacketScheduleEntry |
AsapBoundedDropOldestPacketScheduler.reschedule(Packet packet)
Informs the packet scheduler that previous attempts were unsuccessful in transmitting the scheduled packet, and that it should be rescheduled for another attempt. |
PacketScheduleEntry |
AsapBoundedDropRandomPacketScheduler.reschedule(Packet packet)
Informs the packet scheduler that previous attempts were unsuccessful in transmitting the scheduled packet, and that it should be rescheduled for another attempt. |
PacketScheduleEntry |
AsapPacketScheduler.reschedule(Packet packet)
Accepts the supplied packet for scheduling for later transmission. |
abstract PacketScheduleEntry |
PacketScheduler.reschedule(Packet packet)
Informs the packet scheduler that previous attempts were unsuccessful in transmitting the scheduled packet, and that it should be rescheduled for another attempt. |
PacketScheduleEntry |
AsapBoundedDropOldestPacketScheduler.schedule(Packet packet)
Accepts the supplied packet for scheduling for later transmission. |
PacketScheduleEntry |
AsapBoundedDropRandomPacketScheduler.schedule(Packet packet)
Accepts the supplied packet for scheduling for later transmission. |
PacketScheduleEntry |
AsapPacketScheduler.schedule(Packet packet)
Accepts the supplied packet for scheduling for later transmission. |
abstract PacketScheduleEntry |
PacketScheduler.schedule(Packet packet)
Accepts the supplied packet for scheduling for later transmission |
protected void |
PacketScheduleEntry.setPacket(Packet packet)
Sets the scheduled packet |
| Constructors in yass.packet.schedule with parameters of type Packet | |
|---|---|
PacketScheduleEntry(Packet packet,
double earliest,
double latest)
Constructs a new instance of PacketScheduleEntry |
|
| Uses of Packet in yass.radio |
|---|
| Fields in yass.radio declared as Packet | |
|---|---|
private Packet |
Transmission.packet
Packet being transmitted |
| Methods in yass.radio that return Packet | |
|---|---|
protected Packet |
Transmission.abort()
Updates this Transmission and any remaining listener Reception objects to indicate that message transmission has been abandoned by the transmitter prior to completion. |
private Packet |
Transmission.complete()
Updates this Transmission and any remaining listener Reception objects to indicate that message transmission has successfully completed. |
Packet |
Reception.extractPacket()
Obtains the packet received from a radio transmission |
Packet |
Transmission.getPacket()
Obtains the data packet associated with this Transmission |
protected Packet |
Transmission.preempt()
Updates this Transmission and any remaining listener Reception objects to indicate that message transmission has been pre-empted during backoff before actual transmission in the wireless medium began. |
private Packet |
RadioModule.preemptTransmission()
Attempts to preempt the current transmission, which is possible only if the current transmission is currently in a backoff state prior to commencing the actual transmission of data. |
private Packet |
Transmission.timeout()
Updates this Transmission and any remaining listener Reception objects to indicate that message transmission has timed-out before actual transmission in the wireless medium began. |
| Methods in yass.radio with parameters of type Packet | |
|---|---|
Transmission |
RadioModule.initiateTransmission(Packet packet)
Instructs this RadioModule to begin attempts to transmit a data packet |
| Constructors in yass.radio with parameters of type Packet | |
|---|---|
Transmission(int id,
RadioModule transmitter,
Packet packet,
double frequency,
double transmitPower,
double transmitRate,
BackoffManager backoffManager)
Constructs a new instance of Transmission |
|
| Uses of Packet in yass.traffic.consumer |
|---|
| Methods in yass.traffic.consumer with parameters of type Packet | |
|---|---|
void |
DestinationPacketConsumer.accept(Packet packet)
Examines the supplied packet. |
void |
DropCachedPacketConsumer.accept(Packet packet)
Accepts an incoming packet. |
abstract void |
PacketConsumer.accept(Packet packet)
Accepts the supplied packet. |
void |
TerminatingPacketConsumer.accept(Packet packet)
Drops the supplied packet. |
protected void |
PacketConsumer.forwardToNext(Packet packet)
Forwards the Packet to the next PacketConsumer in the chain-of-command |
protected void |
PacketConsumer.logConsumedPacket(Packet packet)
Records that a given packet was consumed here |
protected void |
DropCachedPacketConsumer.storePacket(Packet packet)
Stores details of a received packet in the event database shared by all elements of the simulation. |
| Uses of Packet in yass.traffic.producer |
|---|
| Methods in yass.traffic.producer that return Packet | |
|---|---|
protected Packet |
RatePacketProducer.generatePacket()
Generates the next packet to enqueue or schedule for sending |
protected Packet |
SporadicPacketProducer.generatePacket()
Generates the next packet to enqueue or schedule for sending |
| Methods in yass.traffic.producer with parameters of type Packet | |
|---|---|
protected void |
PacketProducer.storePacket(Packet packet)
Stores details of a generated packet in the event database shared by all elements of the simulation. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||