diff options
Diffstat (limited to 'NET/worlds/scape/CDDBHost.java')
| -rw-r--r-- | NET/worlds/scape/CDDBHost.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/NET/worlds/scape/CDDBHost.java b/NET/worlds/scape/CDDBHost.java new file mode 100644 index 0000000..5e7ed15 --- /dev/null +++ b/NET/worlds/scape/CDDBHost.java @@ -0,0 +1,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; + } +} |