Package com.sun.corba.se.impl.transport
Class CorbaContactInfoListImpl
java.lang.Object
com.sun.corba.se.impl.transport.CorbaContactInfoListImpl
- All Implemented Interfaces:
ContactInfoList,CorbaContactInfoList
- Direct Known Subclasses:
SocketFactoryContactInfoListImpl
- Author:
- Harold Carr
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IORprotected Listprotected LocalClientRequestDispatcherprotected ORBprotected ContactInfoprotected IOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRemoteContactInfos(IOR effectiveTargetIOR, List effectiveTargetIORContactInfoList) protected ContactInfocreateContactInfo(String type, String hostname, int port) protected voidinthashCode()iterator()Used to get aContactInfoListIteratorto retrieve individualContactInfofrom the list.voidsetEffectiveTargetIOR(IOR effectiveTargetIOR) protected voidsetLocalSubcontract sets cached information that is set whenever the effectiveTargetIOR changes.voidsetTargetIOR(IOR targetIOR)
-
Field Details
-
orb
-
LocalClientRequestDispatcher
-
targetIOR
-
effectiveTargetIOR
-
effectiveTargetIORContactInfoList
-
-
-
Constructor Details
-
CorbaContactInfoListImpl
-
CorbaContactInfoListImpl
-
-
Method Details
-
iterator
Description copied from interface:ContactInfoListUsed to get aContactInfoListIteratorto retrieve individualContactInfofrom the list.- Specified by:
iteratorin interfaceContactInfoList- Returns:
- A
ContactInfoListIterator.
-
setTargetIOR
- Specified by:
setTargetIORin interfaceCorbaContactInfoList
-
getTargetIOR
- Specified by:
getTargetIORin interfaceCorbaContactInfoList
-
setEffectiveTargetIOR
- Specified by:
setEffectiveTargetIORin interfaceCorbaContactInfoList
-
getEffectiveTargetIOR
- Specified by:
getEffectiveTargetIORin interfaceCorbaContactInfoList
-
getLocalClientRequestDispatcher
- Specified by:
getLocalClientRequestDispatcherin interfaceCorbaContactInfoList
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCorbaContactInfoList- Overrides:
hashCodein classObject
-
createContactInfoList
protected void createContactInfoList() -
addRemoteContactInfos
-
createContactInfo
-
setLocalSubcontract
protected void setLocalSubcontract()setLocalSubcontract sets cached information that is set whenever the effectiveTargetIOR changes. Note: this must be maintained accurately whether or not the ORB allows local optimization, because ServantManagers in the POA ALWAYS use local optimization ONLY (they do not have a remote case).
-