1. /*
  2. * @(#)USLPort.java 1.6 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.impl.legacy.connection;
  8. public class USLPort
  9. {
  10. private String type;
  11. private int port;
  12. public USLPort (String type, int port)
  13. {
  14. this.type = type;
  15. this.port = port;
  16. }
  17. public String getType () { return type; }
  18. public int getPort () { return port; }
  19. public String toString () { return type + ":" + port; }
  20. }
  21. // End of file.