1 7 8 package com.sun.corba.se.pept.transport; 9 10 import com.sun.corba.se.pept.broker.Broker; 11 import com.sun.corba.se.pept.encoding.InputObject; 12 import com.sun.corba.se.pept.encoding.OutputObject; 13 import com.sun.corba.se.pept.protocol.MessageMediator; 14 import com.sun.corba.se.pept.protocol.ClientRequestDispatcher; 15 import com.sun.corba.se.pept.transport.ConnectionCache; 16 17 28 public interface ContactInfo 29 { 30 36 public Broker getBroker(); 37 38 46 public ContactInfoList getContactInfoList(); 47 48 58 public ClientRequestDispatcher getClientRequestDispatcher(); 59 60 73 public boolean isConnectionBased(); 74 75 89 public boolean shouldCacheConnection(); 90 91 97 public String getConnectionCacheType(); 98 99 111 public void setConnectionCache(OutboundConnectionCache connectionCache); 112 113 126 public OutboundConnectionCache getConnectionCache(); 127 128 137 public Connection createConnection(); 138 139 149 public MessageMediator createMessageMediator(Broker broker, 150 ContactInfo contactInfo, 151 Connection connection, 152 String methodName, 153 boolean isOneWay); 154 155 165 public MessageMediator createMessageMediator(Broker broker, 166 Connection connection); 167 168 178 public MessageMediator finishCreatingMessageMediator(Broker broker, 179 Connection connection, 180 MessageMediator messageMediator); 181 182 191 public InputObject createInputObject(Broker broker, 192 MessageMediator messageMediator); 193 194 203 public OutputObject createOutputObject(MessageMediator messageMediator); 204 205 210 public int hashCode(); 211 } 212 213 215 216 | Popular Tags |