KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > net > TestDSOChannelManager


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

5 package com.tc.object.net;
6
7 import com.tc.exception.ImplementMe;
8 import com.tc.net.protocol.tcm.ChannelID;
9 import com.tc.net.protocol.tcm.MessageChannel;
10 import com.tc.object.msg.BatchTransactionAcknowledgeMessage;
11
12 import java.util.Collection JavaDoc;
13
14 public class TestDSOChannelManager implements DSOChannelManager {
15
16   private final MessageChannel[] allChannels = new MessageChannel[0];
17
18   public void closeAll(Collection JavaDoc channelIDs) {
19     throw new ImplementMe();
20   }
21
22   public Collection JavaDoc getAllChannelIDs() {
23     throw new ImplementMe();
24   }
25
26   public MessageChannel getChannel(ChannelID id) {
27     throw new ImplementMe();
28   }
29
30   public String JavaDoc getChannelAddress(ChannelID channelID) {
31     throw new ImplementMe();
32   }
33
34   public MessageChannel[] getChannels() {
35     return allChannels;
36   }
37
38   public boolean isValidID(ChannelID channelID) {
39     throw new ImplementMe();
40   }
41
42   public BatchTransactionAcknowledgeMessage newBatchTransactionAcknowledgeMessage(ChannelID channelID) {
43     throw new ImplementMe();
44   }
45
46   public void addEventListener(DSOChannelManagerEventListener listener) {
47     throw new ImplementMe();
48   }
49
50   public MessageChannel getActiveChannel(ChannelID id) {
51     throw new ImplementMe();
52   }
53
54   public MessageChannel[] getActiveChannels() {
55     return allChannels;
56   }
57
58   public Collection JavaDoc getAllActiveChannelIDs() {
59     throw new ImplementMe();
60   }
61
62   public Collection JavaDoc getRawChannelIDs() {
63     throw new ImplementMe();
64   }
65
66   public boolean isActiveID(ChannelID channelID) {
67     throw new ImplementMe();
68   }
69
70   public void makeChannelActive(ChannelID channelID, long startIDs, long endIDs, boolean persistent) {
71     throw new ImplementMe();
72   }
73
74   public void makeChannelActiveNoAck(MessageChannel channel) {
75     throw new ImplementMe();
76   }
77
78 }
79
Popular Tags