Package com.sun.corba.ee.impl.txpoa
Class TSIdentificationImpl
- java.lang.Object
-
- org.omg.CORBA.LocalObject
-
- com.sun.corba.ee.impl.txpoa.TSIdentificationImpl
-
- All Implemented Interfaces:
Object
,TSIdentification
public class TSIdentificationImpl extends LocalObject implements TSIdentification
-
-
Constructor Summary
Constructors Constructor Description TSIdentificationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Receiver
getReceiver()
getReceiver is not defined in the OTS spec.Sender
getSender()
getSender is not defined in the OTS spec.void
identify_receiver(Receiver receiverOTS)
identify_receiver is called by the OTS during initialization to register its Receiver callback interface with the ORB.void
identify_sender(Sender senderOTS)
identify_sender is called by the OTS during initialization to register its Sender callback interface with the ORB.-
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
-
-
-
-
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 interfaceTSIdentification
- Parameters:
senderOTS
- theSender
object to be registered- Throws:
NotAvailable
- if the ORB is unavailable to register the givenSender
objectAlreadyIdentified
- if the givenSender
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 interfaceTSIdentification
- Parameters:
receiverOTS
- theReceiver
object to register with the ORB- Throws:
NotAvailable
- if the ORB is unavailable to register the givenReceiver
objectAlreadyIdentified
- if the givenReceiver
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
-
-