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

## PER.rover.control
Class Datapack

    java.lang.Object
      PER.rover.control.Datapack

public class Datapack
extends java.lang.Object

Contains the class for storing the buffer received and it's sequence number (which allows for keeping track of which packet goes with which thread).

Constructor Summary
`Datapack(byte[] buffer, int seqNum)`

Method Summary
`byte[]` | `getData()`
`int` | `getLength()`
`int` | `getSequenceNumber()`

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

Constructor Detail

### Datapack

    public Datapack(byte[] buffer,
                    int seqNum)

Method Detail

### getData

    public byte[] getData()

### getLength

    public int getLength()

### getSequenceNumber

    public int getSequenceNumber()

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