/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public class LegacyServerSocketManagerImpl
implements
{
{
}
////////////////////////////////////////////////////
//
// LegacyServerSocketManager
//
// Only used in ServerManagerImpl.
{
return legacyGetServerPort(type, false);
}
// Only used by POAPolicyMediatorBase.
{
// this server is activated by orbd
return legacyGetServerPort(socketType, true);
// this is a user-activated server
} else {
}
}
// Only used by PI IORInfoImpl.
public synchronized int legacyGetTransientOrPersistentServerPort(
{
return legacyGetServerPort(socketType,
}
// Used in RepositoryImpl, ServerManagerImpl, POAImpl,
// POAPolicyMediatorBase, TOAImpl.
// To get either default or bootnaming endpoint.
{
return endPoint;
}
}
}
// Check to see if the given port is equal to any of the ORB Server Ports.
// XXX Does this need to change for the multi-homed case?
// Used in IIOPProfileImpl, ORBImpl.
{
return true;
}
}
return false;
}
////////////////////////////////////////////////////
//
// Implementation.
//
{
if (isPersistent) {
return ep.getLocatorPort();
} else {
}
}
}
return -1;
}
{
}
}
{
if (o instanceof LegacyServerSocketEndPointInfo) {
return (LegacyServerSocketEndPointInfo) o;
}
return null;
}
{
}
}
// End of file.