Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.radio
Class Radio.RadioPacket

    java.lang.Object
      avrora.sim.radio.Radio.RadioPacket

All Implemented Interfaces:
  java.lang.Comparable

Enclosing class:
  Radio

public static class Radio.RadioPacket
extends java.lang.Object
implements java.lang.Comparable

A `RadioPacket` is an object describing the data transmitted over `RadioAir` over some period of time.

Field Summary
`byte` | `data`
`long` | `deliveryTime`
`long` | `frequency`
`long` | `originTime`
`int` | `strength`

Constructor Summary
`Radio.RadioPacket(byte data, long frequency, long originTime)`

Method Summary
`int` | `compareTo(java.lang.Object o)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### data

    public final byte data

### frequency

    public final long frequency

### originTime

    public final long originTime

### deliveryTime

    public final long deliveryTime

### strength

    public int strength

Constructor Detail

### Radio.RadioPacket

    public Radio.RadioPacket(byte data,
                             long frequency,
                             long originTime)

Method Detail

### compareTo

    public int compareTo(java.lang.Object o)

  Specified by:
    `compareTo` in interface `java.lang.Comparable`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD