summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/CDDBHost.java
blob: 5e7ed155f4c7d75a9442934d733a9dedf3c6e109 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package NET.worlds.scape;

class CDDBHost {
   private String host;
   private int port;

   public CDDBHost(String host, int port) {
      this.host = host;
      this.port = port;
   }

   public String getHost() {
      return this.host;
   }

   public int getPort() {
      return this.port;
   }

   @Override
   public String toString() {
      return this.host + ":" + this.port;
   }
}