Class SharedCDRContactInfoImpl

    • Field Detail

      • requestId

        private static int requestId
      • hashCode

        private int hashCode
    • Constructor Detail

      • SharedCDRContactInfoImpl

        public SharedCDRContactInfoImpl​(ORB orb,
                                        ContactInfoList contactInfoList,
                                        IOR effectiveTargetIOR,
                                        short addressingDisposition)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getHost

        public java.lang.String getHost()
      • getPort

        public int getPort()
      • 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.
        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.
        Returns:
        true if a CorbaConnection created by this ContactInfo should be cached.
      • getConnectionCacheType

        public java.lang.String getConnectionCacheType()
      • createConnection

        public Connection createConnection()
      • getMonitoringName

        public java.lang.String getMonitoringName()
      • 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