1 package net.pterodactylus.xdcc.data;
3 import java.util.Collection;
6 * Collections information about a connected network.
8 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
10 public class ConnectedNetwork {
12 private final Network network;
13 private final String hostname;
14 private final int port;
15 private final String nickname;
16 private final Collection<String> channels;
17 private final Collection<String> forcedChannels;
18 private final int botCount;
19 private final int packCount;
21 public ConnectedNetwork(Network network, String hostname, int port,
22 String nickname, Collection<String> channels,
23 Collection<String> forcedChannels, int botCount, int packCount) {
24 this.network = network;
25 this.hostname = hostname;
27 this.nickname = nickname;
28 this.channels = channels;
29 this.forcedChannels = forcedChannels;
30 this.botCount = botCount;
31 this.packCount = packCount;
34 public Network getNetwork() {
38 public String getHostname() {
42 public int getPort() {
46 public String getNickname() {
50 public Collection<String> getChannels() {
54 public Collection<String> getForcedChannels() {
55 return forcedChannels;
58 public int getBotCount() {
62 public int getPackCount() {