Class ContactInfoImpl

    • Field Detail

      • isHashCodeCached

        protected boolean isHashCodeCached
      • cachedHashCode

        protected int cachedHashCode
      • socketType

        protected java.lang.String socketType
      • hostname

        protected java.lang.String hostname
      • port

        protected int port
    • Constructor Detail

      • ContactInfoImpl

        protected ContactInfoImpl()
      • ContactInfoImpl

        protected ContactInfoImpl​(ORB orb,
                                  ContactInfoList contactInfoList)
      • ContactInfoImpl

        public ContactInfoImpl​(ORB orb,
                               ContactInfoList contactInfoList,
                               java.lang.String socketType,
                               java.lang.String hostname,
                               int port)
      • ContactInfoImpl

        public ContactInfoImpl​(ORB orb,
                               ContactInfoList contactInfoList,
                               IOR effectiveTargetIOR,
                               short addressingDisposition,
                               java.lang.String socketType,
                               java.lang.String hostname,
                               int port)
    • Method Detail

      • isConnectionBased

        public boolean isConnectionBased()
        Description copied from interface: ContactInfo
        Used to determine if a CorbaConnection will be present in an invocation. For example, it may be false in the case of shared-memory Input/OutputObjects.
        Specified by:
        isConnectionBased in interface ContactInfo
        Returns:
        true if a CorbaConnection will be used for an invocation.
      • shouldCacheConnection

        public boolean shouldCacheConnection()
        Description copied from interface: ContactInfo
        Used to determine if the CorbaConnection used for a request should be cached. If true then the ORB will attempt to reuse an existing CorbaConnection. If one is not found it will create a new one and cache it for future use.
        Specified by:
        shouldCacheConnection in interface ContactInfo
        Returns:
        true if a CorbaConnection created by this ContactInfo should be cached.
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface SocketInfo
      • getHost

        public java.lang.String getHost()
        Specified by:
        getHost in interface SocketInfo
      • hashCode

        public int hashCode()
        Description copied from interface: ContactInfo
        Used to lookup artifacts associated with this ContactInfo.
        Specified by:
        hashCode in interface ContactInfo
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash value.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • dprint

        protected void dprint​(java.lang.String msg)