Class EndPointInfoImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.legacy.connection.EndPointInfoImpl
-
- All Implemented Interfaces:
LegacyServerSocketEndPointInfo,SocketInfo
public class EndPointInfoImpl extends java.lang.Object implements SocketInfo, LegacyServerSocketEndPointInfo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringhostnameprotected intlocatorPortprotected java.lang.Stringnameprotected intportprotected java.lang.Stringtype-
Fields inherited from interface com.sun.corba.ee.spi.legacy.connection.LegacyServerSocketEndPointInfo
BOOT_NAMING, DEFAULT_ENDPOINT, NO_NAME
-
Fields inherited from interface com.sun.corba.ee.spi.transport.SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description EndPointInfoImpl(java.lang.String type, int port, java.lang.String hostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetHost()java.lang.StringgetHostName()Get the host name of this end point.intgetLocatorPort()The ORBD's proxy port of this end point.java.lang.StringgetName()intgetPort()java.lang.StringgetType()e.g.: "CLEAR_TEXT", "SSL", ...inthashCode()voidsetLocatorPort(int port)java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Description copied from interface:LegacyServerSocketEndPointInfoe.g.: "CLEAR_TEXT", "SSL", ...- Specified by:
getTypein interfaceLegacyServerSocketEndPointInfo- Specified by:
getTypein interfaceSocketInfo- Returns:
- type
-
getHost
public java.lang.String getHost()
- Specified by:
getHostin interfaceSocketInfo
-
getHostName
public java.lang.String getHostName()
Description copied from interface:LegacyServerSocketEndPointInfoGet the host name of this end point. Subcontracts must use this instead of InetAddress.getHostName() because this would take into account the value of the ORBServerHost property.- Specified by:
getHostNamein interfaceLegacyServerSocketEndPointInfo- Returns:
- the host name
-
getPort
public int getPort()
- Specified by:
getPortin interfaceLegacyServerSocketEndPointInfo- Specified by:
getPortin interfaceSocketInfo
-
getLocatorPort
public int getLocatorPort()
Description copied from interface:LegacyServerSocketEndPointInfoThe ORBD's proxy port of this end point. Note: Pre-ORT "port-exchange" model.- Specified by:
getLocatorPortin interfaceLegacyServerSocketEndPointInfo- Returns:
- proxy port
-
setLocatorPort
public void setLocatorPort(int port)
- Specified by:
setLocatorPortin interfaceLegacyServerSocketEndPointInfo
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceLegacyServerSocketEndPointInfo
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-