|
@@ -26,6 +26,7 @@ import com.dmdirc.parser.common.IgnoreList;
|
26
|
26
|
import com.dmdirc.parser.common.CallbackManager;
|
27
|
27
|
|
28
|
28
|
import com.dmdirc.parser.common.QueuePriority;
|
|
29
|
+import java.net.URI;
|
29
|
30
|
import java.util.Collection;
|
30
|
31
|
|
31
|
32
|
/**
|
|
@@ -157,6 +158,14 @@ public interface Parser extends Runnable {
|
157
|
158
|
*/
|
158
|
159
|
boolean isValidChannelName(String name);
|
159
|
160
|
|
|
161
|
+ /**
|
|
162
|
+ * Get a URI that shows where this parser is connected to.
|
|
163
|
+ *
|
|
164
|
+ * @return URI that shows where this parser is connected to.
|
|
165
|
+ */
|
|
166
|
+ URI getURI();
|
|
167
|
+
|
|
168
|
+
|
160
|
169
|
/**
|
161
|
170
|
* Retrieves the name of the server that this parser is connected to.
|
162
|
171
|
*
|