+ // ACCESSORS
+ //
+
+ /**
+ * Returns all configured channels. Due to various circumstances, configured
+ * channels might not actually be joined.
+ *
+ * @return All configured channels
+ */
+ public Collection<Channel> channels() {
+ return ImmutableSet.copyOf(channels);
+ }
+
+ /**
+ * Returns all currently joined channels.
+ *
+ * @return All currently joined channels
+ */
+ public Collection<Channel> joinedChannels() {
+ return ImmutableSet.copyOf(joinedChannels);
+ }
+
+ /**
+ * Returns all currently joined channels that are not configured.
+ *
+ * @return All currently joined but not configured channels
+ */
+ public Collection<Channel> extraChannels() {
+ return ImmutableSet.copyOf(extraChannels);
+ }
+
+ /**
+ * Returns all currently known bots.
+ *
+ * @return All currently known bots
+ */
+ public Collection<Bot> bots() {
+ return networkBots.values();
+ }
+
+ /**
+ * Returns the currently active DCC receivers.
+ *
+ * @return The currently active DCC receivers
+ */
+ public Collection<DccReceiver> dccReceivers() {
+ return dccReceivers;
+ }
+
+ //