The primary PEPt client-side plug-in point and enabler for altenate encodings, protocols and transports.
ContactInfo is a factory for client-side artifacts used to construct and send a message (and possibly receive and process a response).
ContactInfo
168169170171172173174175176177178
// NOTE: IMPORTANT: // Only do local. The APP Server interceptors check // effectiveTarget.isLocal - which is determined via // the IOR - so if we added other addresses then // transactions and interceptors would not execute. ContactInfo contactInfo = new SharedCDRContactInfoImpl( orb, this, effectiveTargetIOR, orb.getORBData().getGIOPAddressDisposition()); effectiveTargetIORContactInfoList.add(contactInfo); } else { addRemoteContactInfos(effectiveTargetIOR,
182183184185186187188189190191192
protected void addRemoteContactInfos( IOR effectiveTargetIOR, List effectiveTargetIORContactInfoList) { ContactInfo contactInfo; List socketInfos = orb.getORBData() .getIORToSocketInfo().getSocketInfo(effectiveTargetIOR); Iterator iterator = socketInfos.iterator(); while (iterator.hasNext()) { SocketInfo socketInfo = (SocketInfo) iterator.next();
507508509510511512513514
public MessageMediator createMessageMediator(Broker broker, Connection connection) { // REVISIT - no factoring so cheat to avoid code dup right now. // REVISIT **** COUPLING !!!! ContactInfo contactInfo = new SocketOrChannelContactInfoImpl(); return contactInfo.createMessageMediator(broker, connection); }
518519520521522523524525526
Connection connection, MessageMediator messageMediator) { // REVISIT - no factoring so cheat to avoid code dup right now. // REVISIT **** COUPLING !!!! ContactInfo contactInfo = new SocketOrChannelContactInfoImpl(); return contactInfo.finishCreatingMessageMediator(broker, connection, messageMediator); }
500501502503504505506507
511512513514515516517518519