KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > net > protocol > tcm > TestCommunicationsManager


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

5 package com.tc.net.protocol.tcm;
6
7 import com.tc.async.api.Sink;
8 import com.tc.config.schema.dynamic.ConfigItem;
9 import com.tc.exception.ImplementMe;
10 import com.tc.net.TCSocketAddress;
11 import com.tc.net.core.TCConnectionManager;
12 import com.tc.net.protocol.transport.ConnectionIDFactory;
13 import com.tc.object.session.SessionProvider;
14
15 public class TestCommunicationsManager implements CommunicationsManager {
16
17   public boolean shutdown;
18
19   public TCConnectionManager getConnectionManager() {
20     throw new ImplementMe();
21   }
22
23   public void shutdown() {
24     throw new ImplementMe();
25   }
26
27   public NetworkListener[] getAllListeners() {
28     throw new ImplementMe();
29   }
30
31   public ClientMessageChannel createClientChannel(SessionProvider sessionProvider, int maxReconnectTries,
32                                                   String JavaDoc hostname, int port, int timeout,
33                                                   ConfigItem connectionInfoSource) {
34     throw new ImplementMe();
35   }
36
37   public NetworkListener createListener(SessionProvider sessionProvider, TCSocketAddress addr,
38                                         boolean transportDisconnectRemovesChannel,
39                                         ConnectionIDFactory connectionIdFactory) {
40     throw new ImplementMe();
41   }
42
43   public NetworkListener createListener(SessionProvider sessionProvider, TCSocketAddress addr,
44                                         boolean transportDisconnectRemovesChannel,
45                                         ConnectionIDFactory connectionIdFactory, boolean reuseAddress) {
46     throw new ImplementMe();
47   }
48
49   public boolean isInShutdown() {
50     return this.shutdown;
51   }
52
53   public NetworkListener createListener(SessionProvider sessionProvider, TCSocketAddress address, boolean b,
54                                         ConnectionIDFactory connectionIDFactory, Sink httpSink) {
55     throw new ImplementMe();
56   }
57
58 }
Popular Tags