KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > transport > NetworkStackProvider


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.net.protocol.transport;
5
6 import com.tc.net.core.TCConnection;
7 import com.tc.net.protocol.StackNotFoundException;
8
9 /**
10  * Provider/locator for a network stack.
11  */

12 public interface NetworkStackProvider {
13
14   /**
15    * Takes a new connection and a connectionId. Returns the MessageTransport associated with that
16    * id.
17    */

18   public MessageTransport attachNewConnection(ConnectionID connectionId, TCConnection connection) throws StackNotFoundException;
19
20 }
Popular Tags