Browse Source

Fix some OutputQueue method names.

tags/0.6.3
Shane Mc Cormack 15 years ago
parent
commit
b3ab44ea51
1 changed files with 13 additions and 3 deletions
  1. 13
    3
      src/com/dmdirc/parser/irc/outputqueue/OutputQueue.java

+ 13
- 3
src/com/dmdirc/parser/irc/outputqueue/OutputQueue.java View File

80
      * If this is called before the first lien of output is queued then there is
80
      * If this is called before the first lien of output is queued then there is
81
      * no need to disable and reenable the queue.
81
      * no need to disable and reenable the queue.
82
      *
82
      *
83
-     * @param manager New QueueFactory to use.
83
+     * @param factory New QueueFactory to use.
84
      */
84
      */
85
-    public void setQueueManager(final QueueFactory manager) {
86
-        queueFactory = manager;
85
+    public void setQueueFactory(final QueueFactory factory) {
86
+        queueFactory = factory;
87
     }
87
     }
88
 
88
 
89
     /**
89
     /**
90
      * Get the QueueFactory.
90
      * Get the QueueFactory.
91
+     *
91
      * @return The current QueueFactory.
92
      * @return The current QueueFactory.
92
      */
93
      */
93
     public QueueFactory getQueueManager() {
94
     public QueueFactory getQueueManager() {
94
         return queueFactory;
95
         return queueFactory;
95
     }
96
     }
96
 
97
 
98
+    /**
99
+     * Get the QueueHandler.
100
+     *
101
+     * @return The current QueueHandler if there is one, else null.
102
+     */
103
+    public QueueHandler getQueueHandler() {
104
+        return queueHandler;
105
+    }
106
+
97
     /**
107
     /**
98
      * Set if queueing is enabled.
108
      * Set if queueing is enabled.
99
      * if this is changed from enabled to disabled, all currently queued items
109
      * if this is changed from enabled to disabled, all currently queued items

Loading…
Cancel
Save