public class JChannel implements Closeable { // Initialization accepts configuration options public JChannel (); public JChannel (String url); public JChannel (InputStream stream); // Join a group with a given name public void connect (String cluster); public String clusterName (); public void disconnect (); // View is the current list of members public View getView (); // Send a message to all or one group member. public void send (Message msg); public void send (Address dst, Object obj); public void send (Address dst, byte [] buf); public void send (Address dst, byte [] buf, int offset, int length); // Asynchronous notification about messages and membership is available public void setReceiver (Receiver r); public Receiver getReceiver (); ... }