1. /*
  2. * @(#)SocketInfo.java 1.8 04/06/21
  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.spi.transport;
  8. public interface SocketInfo
  9. {
  10. // Endpoint types known in advance.
  11. // If you change the value of this constant then update
  12. // activation.idl accordingly. It has a duplicate definition
  13. // to avoid a compilation dependency.
  14. public static final String IIOP_CLEAR_TEXT = "IIOP_CLEAR_TEXT";
  15. public String getType();
  16. public String getHost();
  17. public int getPort();
  18. }