KickJava   Java API By Example, From Geeks To Geeks.

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


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
8 import java.util.List JavaDoc;
9
10 public interface MessageTransportFactory {
11
12   MessageTransport createNewTransport();
13
14   MessageTransport createNewTransport(ConnectionID connectionID, TransportHandshakeErrorHandler handler,
15                                       TransportHandshakeMessageFactory handshakeMessageFactory, List JavaDoc transportListeners);
16
17   MessageTransport createNewTransport(ConnectionID connectionId, TCConnection connection,
18                                       TransportHandshakeErrorHandler handler,
19                                       TransportHandshakeMessageFactory handshakeMessageFactory, List JavaDoc transportListeners);
20
21 }
22
Popular Tags