1 16 17 package org.apache.catalina.cluster; 18 19 import org.apache.catalina.cluster.tcp.SimpleTcpCluster; 20 21 22 29 public interface ClusterSender 30 { 31 32 public void add(Member member); 33 34 public void remove(Member member); 35 36 public void start() throws java.io.IOException ; 37 38 public void stop(); 39 40 public void sendMessage(String messageId, byte[] indata, Member member) throws java.io.IOException ; 41 42 public void sendMessage(String messageId, byte[] indata) throws java.io.IOException ; 43 44 public boolean isWaitForAck(); 45 public void setWaitForAck(boolean isWaitForAck); 46 47 50 public void setCatalinaCluster(SimpleTcpCluster cluster); 51 52 } 53 | Popular Tags |