j_waste.network
Class QueueItem

java.lang.Object
  extended byj_waste.network.QueueItem

public class QueueItem
extends java.lang.Object

This class represents an entry in the PriorityQueue used for incoming packets.

Author:
Mattias Ek (matekd@users.sourceforge.net)

Constructor Summary
QueueItem(Connection connection, HeadedPacket packet)
           
 
Method Summary
 Connection getConnection()
           
 HeadedPacket getPacket()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueItem

public QueueItem(Connection connection,
                 HeadedPacket packet)
Method Detail

getConnection

public Connection getConnection()

getPacket

public HeadedPacket getPacket()