183f1f3aadc0bb5ce59e5a9b38a8c504ce85c136
[xudocci.git] / src / main / java / net / pterodactylus / xdcc / data / ConnectedNetwork.java
1 package net.pterodactylus.xdcc.data;
2
3 import java.util.Collection;
4
5 /**
6  * Collections information about a connected network.
7  *
8  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
9  */
10 public class ConnectedNetwork {
11
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;
20
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;
26                 this.port = port;
27                 this.nickname = nickname;
28                 this.channels = channels;
29                 this.forcedChannels = forcedChannels;
30                 this.botCount = botCount;
31                 this.packCount = packCount;
32         }
33
34         public Network getNetwork() {
35                 return network;
36         }
37
38         public String getHostname() {
39                 return hostname;
40         }
41
42         public int getPort() {
43                 return port;
44         }
45
46         public String getNickname() {
47                 return nickname;
48         }
49
50         public Collection<String> getChannels() {
51                 return channels;
52         }
53
54         public Collection<String> getForcedChannels() {
55                 return forcedChannels;
56         }
57
58         public int getBotCount() {
59                 return botCount;
60         }
61
62         public int getPackCount() {
63                 return packCount;
64         }
65
66 }