01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.net;
06:
07: import com.tc.exception.ImplementMe;
08: import com.tc.net.groups.ClientID;
09: import com.tc.net.groups.NodeID;
10: import com.tc.net.protocol.tcm.ChannelID;
11: import com.tc.net.protocol.tcm.MessageChannel;
12: import com.tc.object.msg.BatchTransactionAcknowledgeMessage;
13:
14: import java.util.Collection;
15: import java.util.Set;
16:
17: public class TestDSOChannelManager implements DSOChannelManager {
18:
19: private final MessageChannel[] allChannels = new MessageChannel[0];
20:
21: public void closeAll(Collection channelIDs) {
22: throw new ImplementMe();
23: }
24:
25: public Collection getAllChannelIDs() {
26: throw new ImplementMe();
27: }
28:
29: public MessageChannel getChannel(ChannelID id) {
30: throw new ImplementMe();
31: }
32:
33: public String getChannelAddress(NodeID nid) {
34: throw new ImplementMe();
35: }
36:
37: public MessageChannel[] getChannels() {
38: return allChannels;
39: }
40:
41: public boolean isValidID(ChannelID channelID) {
42: throw new ImplementMe();
43: }
44:
45: public BatchTransactionAcknowledgeMessage newBatchTransactionAcknowledgeMessage(
46: NodeID nid) {
47: throw new ImplementMe();
48: }
49:
50: public void addEventListener(DSOChannelManagerEventListener listener) {
51: throw new ImplementMe();
52: }
53:
54: public MessageChannel getActiveChannel(NodeID id) {
55: throw new ImplementMe();
56: }
57:
58: public MessageChannel[] getActiveChannels() {
59: return allChannels;
60: }
61:
62: public Set getAllActiveClientIDs() {
63: throw new ImplementMe();
64: }
65:
66: public Set getAllClientIDs() {
67: throw new ImplementMe();
68: }
69:
70: public boolean isActiveID(NodeID nodeID) {
71: throw new ImplementMe();
72: }
73:
74: public void makeChannelActive(ClientID clientID, long startIDs,
75: long endIDs, boolean persistent) {
76: throw new ImplementMe();
77: }
78:
79: public void makeChannelActiveNoAck(MessageChannel channel) {
80: throw new ImplementMe();
81: }
82:
83: public ClientID getClientIDFor(ChannelID channelID) {
84: return new ClientID(channelID);
85: }
86: }
|