Class TSIdentificationImpl

    • Constructor Detail

      • TSIdentificationImpl

        public TSIdentificationImpl()
    • Method Detail

      • identify_sender

        public void identify_sender​(Sender senderOTS)
                             throws NotAvailable,
                                    AlreadyIdentified
        identify_sender is called by the OTS during initialization to register its Sender callback interface with the ORB. identify_sender may throw a AlreadyIdentified exception if the registration has already been done previously.
        Specified by:
        identify_sender in interface TSIdentification
        Parameters:
        senderOTS - the Sender object to be registered
        Throws:
        NotAvailable - if the ORB is unavailable to register the given Sender object
        AlreadyIdentified - if the given Sender object has already been registered with the ORB
      • identify_receiver

        public void identify_receiver​(Receiver receiverOTS)
                               throws NotAvailable,
                                      AlreadyIdentified
        identify_receiver is called by the OTS during initialization to register its Receiver callback interface with the ORB. identify_receiver may throw a AlreadyIdentified exception if the registration has already been done previously.
        Specified by:
        identify_receiver in interface TSIdentification
        Parameters:
        receiverOTS - the Receiver object to register with the ORB
        Throws:
        NotAvailable - if the ORB is unavailable to register the given Receiver object
        AlreadyIdentified - if the given Receiver object has already been registered with the ORB
      • getSender

        public Sender getSender()
        getSender is not defined in the OTS spec. It is just a convenience method to allow the ORB to access the Sender subsequent to initialization.
        Returns:
        the ORB's Sender
      • getReceiver

        public Receiver getReceiver()
        getReceiver is not defined in the OTS spec. It is just a convenience method to allow the ORB to access the Receiver subsequent to initialization.
        Returns:
        The receiver