KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > transports > ServerTransportCallback


1 package org.objectweb.celtix.transports;
2
3 import java.util.concurrent.Executor JavaDoc;
4
5 import org.objectweb.celtix.context.InputStreamMessageContext;
6
7 /**
8  * ServerTransportCallback
9  * @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, ServerTransport transport);
20     
21     Executor JavaDoc getExecutor();
22 }
23
Popular Tags