01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.net.protocol.transport;
05:
06: import com.tc.net.core.TCConnection;
07:
08: import java.util.List;
09:
10: public interface MessageTransportFactory {
11:
12: MessageTransport createNewTransport();
13:
14: MessageTransport createNewTransport(ConnectionID connectionID,
15: TransportHandshakeErrorHandler handler,
16: TransportHandshakeMessageFactory handshakeMessageFactory,
17: List transportListeners);
18:
19: MessageTransport createNewTransport(ConnectionID connectionId,
20: TCConnection connection,
21: TransportHandshakeErrorHandler handler,
22: TransportHandshakeMessageFactory handshakeMessageFactory,
23: List transportListeners);
24:
25: }
|