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.protocol.MessageMediator; 12 import com.sun.corba.se.pept.encoding.InputObject; 13 import com.sun.corba.se.pept.encoding.OutputObject; 14 import com.sun.corba.se.pept.transport.Connection; 15 import com.sun.corba.se.pept.transport.EventHandler; 16 17 26 public interface Acceptor 27 { 28 39 public boolean initialize(); 40 41 47 public boolean initialized(); 48 49 55 public String getConnectionCacheType(); 56 57 69 public void setConnectionCache(InboundConnectionCache connectionCache); 70 71 84 public InboundConnectionCache getConnectionCache(); 85 86 99 public boolean shouldRegisterAcceptEvent(); 100 101 112 public void accept(); 113 114 117 public void close(); 118 119 127 public EventHandler getEventHandler(); 128 129 133 135 145 public MessageMediator createMessageMediator(Broker xbroker, 146 Connection xconnection); 147 148 150 160 161 public MessageMediator finishCreatingMessageMediator(Broker broker, 162 Connection xconnection, 163 MessageMediator messageMediator); 164 165 174 public InputObject createInputObject(Broker broker, 175 MessageMediator messageMediator); 176 177 186 public OutputObject createOutputObject(Broker broker, 187 MessageMediator messageMediator); 188 189 } 193 194 | Popular Tags |