1 package org.jgroups.tests.perf; 2 3 import java.util.Properties ; 4 5 20 public interface Transport { 21 22 23 void create(Properties properties) throws Exception ; 24 25 27 Object getLocalAddress(); 28 29 30 void start() throws Exception ; 31 32 33 void stop(); 34 35 36 void destroy(); 37 38 39 void setReceiver(Receiver r); 40 41 47 void send(Object destination, byte[] payload) throws Exception ; 48 } 49 | Popular Tags |