01: package org.objectweb.celtix.transports;
02:
03: import java.util.concurrent.Executor;
04:
05: import org.objectweb.celtix.context.InputStreamMessageContext;
06:
07: /**
08: * ServerTransportCallback
09: * @author dkulp
10: *
11: */
12: public interface ServerTransportCallback {
13: /**
14: * Used to dispatch a message from the <code>ServerTransport</code>
15: * to an servant.
16: *
17: * @param ctx The MessageContext associated with the call.
18: */
19: void dispatch(InputStreamMessageContext ctx,
20: ServerTransport transport);
21:
22: Executor getExecutor();
23: }
|