01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.admin;
05:
06: public class ServerDescriptor {
07: private String hostname;
08: private int portNumber;
09:
10: public ServerDescriptor(String hostname, int portNumber) {
11: this .hostname = hostname;
12: this .portNumber = portNumber;
13: }
14:
15: public String getHostname() {
16: return this .hostname;
17: }
18:
19: public int getPortNumber() {
20: return this.portNumber;
21: }
22: }
|