1 5 package com.tc.object.net; 6 7 import com.tc.net.protocol.tcm.ChannelID; 8 import com.tc.net.protocol.tcm.MessageChannel; 9 import com.tc.object.msg.BatchTransactionAcknowledgeMessage; 10 11 import java.util.Collection ; 12 13 17 public interface DSOChannelManager { 18 19 public void closeAll(Collection channelIDs); 20 21 public MessageChannel getActiveChannel(ChannelID id) throws NoSuchChannelException; 22 23 public MessageChannel[] getActiveChannels(); 24 25 public boolean isActiveID(ChannelID channelID); 26 27 public String getChannelAddress(ChannelID channelID); 28 29 public Collection getAllActiveChannelIDs(); 30 31 public void addEventListener(DSOChannelManagerEventListener listener); 32 33 public BatchTransactionAcknowledgeMessage newBatchTransactionAcknowledgeMessage(ChannelID channelID) 34 throws NoSuchChannelException; 35 36 public Collection getRawChannelIDs(); 37 38 public void makeChannelActive(ChannelID channelID, long startIDs, long endIDs, boolean persistent); 39 40 public void makeChannelActiveNoAck(MessageChannel channel); 41 } 42 | Popular Tags |