1 7 8 package com.sun.corba.se.impl.legacy.connection; 9 10 public class USLPort 11 { 12 private String type; 13 private int port; 14 15 public USLPort (String type, int port) 16 { 17 this.type = type; 18 this.port = port; 19 } 20 21 public String getType () { return type; } 22 public int getPort () { return port; } 23 public String toString () { return type + ":" + port; } 24 } 25 26 28 | Popular Tags |