Class WireObjectKeyTemplate

    • Constructor Detail

      • WireObjectKeyTemplate

        public WireObjectKeyTemplate​(ORB orb)
    • Method Detail

      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • initORB

        private void initORB​(ORB orb)
      • write

        public void write​(OutputStream os)
        Description copied from interface: Writeable
        Write this object directly to the output stream.
        Specified by:
        write in interface Writeable
        Parameters:
        os - stream to write to
      • getSubcontractId

        public int getSubcontractId()
        Description copied from interface: ObjectKeyTemplate
        An ID used to determine how to perform operations on this ObjectKeyTemplate. This id determines how to process requests on this object reference, and what object adapter type to use.
        Specified by:
        getSubcontractId in interface ObjectKeyTemplate
        Returns:
        The subcontract ID
      • getServerId

        public int getServerId()
        Description copied from interface: ObjectKeyTemplate
        Return the server ID for this template. For CORBA 3.0, this should be a String, but it is currently an int in the object key template.
        Specified by:
        getServerId in interface ObjectKeyTemplate
        Returns:
        The ID of the server that handles requests to this IOR"
      • getORBId

        public java.lang.String getORBId()
        Description copied from interface: ObjectKeyTemplate
        Return the ORB ID for this template.
        Specified by:
        getORBId in interface ObjectKeyTemplate
        Returns:
        the ORB ID that created this IOR
      • getAdapterId

        public byte[] getAdapterId()
        Description copied from interface: ObjectKeyTemplate
        Compute an adapter ID for this template than includes all of the template information. This value is cached to avoid the expense of recomputing it.
        Specified by:
        getAdapterId in interface ObjectKeyTemplate
        Returns:
        adapter ID for this template