01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.net.protocol.tcm;
06:
07: import com.tc.async.api.Sink;
08: import com.tc.exception.ImplementMe;
09: import com.tc.net.TCSocketAddress;
10: import com.tc.net.core.ConnectionAddressProvider;
11: import com.tc.net.core.TCConnectionManager;
12: import com.tc.net.protocol.transport.ConnectionIDFactory;
13: import com.tc.net.protocol.transport.WireProtocolMessageSink;
14: import com.tc.object.session.SessionProvider;
15:
16: public class TestCommunicationsManager implements CommunicationsManager {
17:
18: public boolean shutdown;
19:
20: public TCConnectionManager getConnectionManager() {
21: throw new ImplementMe();
22: }
23:
24: public void shutdown() {
25: throw new ImplementMe();
26: }
27:
28: public NetworkListener[] getAllListeners() {
29: throw new ImplementMe();
30: }
31:
32: public ClientMessageChannel createClientChannel(
33: SessionProvider sessionProvider, int maxReconnectTries,
34: String hostname, int port, int timeout,
35: ConnectionAddressProvider addressProvider) {
36: throw new ImplementMe();
37: }
38:
39: public NetworkListener createListener(
40: SessionProvider sessionProvider, TCSocketAddress addr,
41: boolean transportDisconnectRemovesChannel,
42: ConnectionIDFactory connectionIdFactory) {
43: throw new ImplementMe();
44: }
45:
46: public NetworkListener createListener(
47: SessionProvider sessionProvider, TCSocketAddress addr,
48: boolean transportDisconnectRemovesChannel,
49: ConnectionIDFactory connectionIdFactory,
50: boolean reuseAddress) {
51: throw new ImplementMe();
52: }
53:
54: public boolean isInShutdown() {
55: return this .shutdown;
56: }
57:
58: public NetworkListener createListener(
59: SessionProvider sessionProvider, TCSocketAddress address,
60: boolean b, ConnectionIDFactory connectionIDFactory,
61: Sink httpSink) {
62: throw new ImplementMe();
63: }
64:
65: public NetworkListener createListener(
66: SessionProvider sessionProvider, TCSocketAddress addr,
67: boolean transportDisconnectRemovesChannel,
68: ConnectionIDFactory connectionIdFactory,
69: WireProtocolMessageSink wireProtoMsgSink) {
70: throw new ImplementMe();
71: }
72:
73: }
|