1. /*
  2. * @(#)LegacyServerSocketManager.java 1.42 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.spi.legacy.connection;
  8. import java.util.Collection;
  9. import com.sun.corba.se.spi.legacy.connection.LegacyServerSocketEndPointInfo;
  10. import com.sun.corba.se.spi.transport.SocketOrChannelAcceptor;
  11. /**
  12. * @author Harold Carr
  13. */
  14. public interface LegacyServerSocketManager
  15. {
  16. public int legacyGetTransientServerPort(String type);
  17. public int legacyGetPersistentServerPort(String socketType);
  18. public int legacyGetTransientOrPersistentServerPort(String socketType);
  19. public LegacyServerSocketEndPointInfo legacyGetEndpoint(String name);
  20. public boolean legacyIsLocalServerPort(int port);
  21. }
  22. // End of file.