1 package org.sapia.ubik.mcast; 2 3 import org.sapia.ubik.net.ServerAddress; 4 5 import java.io.IOException ; 6 7 8 21 public interface UnicastDispatcher { 22 31 public void dispatch(ServerAddress addr, String type, Object data) 32 throws IOException ; 33 34 46 public Response send(ServerAddress addr, String type, Object data) 47 throws IOException ; 48 49 60 public RespList send(java.util.List addresses, String type, Object data) 61 throws IOException ; 62 63 66 public void start(); 67 68 71 public void close(); 72 73 80 public void setBufsize(int size); 81 82 89 public void setSoTimeoutListener(SocketTimeoutListener listener); 90 91 102 public ServerAddress getAddress() throws IllegalStateException ; 103 } 104 | Popular Tags |