src/devices/csma/csma-net-device.h
changeset 6011 3fd7841b9c20
parent 5832 2812b92d4888
child 6183 8a5e1f9db873
--- a/src/devices/csma/csma-net-device.h	Wed Jan 06 18:04:22 2010 -0800
+++ b/src/devices/csma/csma-net-device.h	Tue Jan 19 10:31:58 2010 -0800
@@ -125,6 +125,13 @@
   void SetQueue (Ptr<Queue> queue);
 
   /**
+   * Get a copy of the attached Queue.
+   *
+   * \return a pointer to the queue.
+   */
+  Ptr<Queue> GetQueue (void) const; 
+
+  /**
    * Attach a receive ErrorModel to the CsmaNetDevice.
    *
    * The CsmaNetDevice may optionally include an ErrorModel in
@@ -414,16 +421,6 @@
   virtual void DoDispose (void);
 
   /**
-   * Get a copy of the attached Queue.
-   *
-   * This method is provided for any derived class that may need to get
-   * direct access to the underlying queue.
-   *
-   * \return a pointer to the queue.
-   */
-  Ptr<Queue> GetQueue (void) const; 
-
-  /**
    * Adds the necessary headers and trailers to a packet of data in order to
    * respect the packet type
    *