public class JChannel ... { // Initialization can accept either options or configuration file public JChannel (String props) throws Exception; // Join a group with a given name public void connect (String cluster) throws Exception; public void disconnect (); // View is the current list of members public View getView (); public void send (Message msg) throws Exception; public void send (Address dst, byte[] buf) throws Exception; public void send (Address dst, Serializable obj) throws Exception; public void receive (Message msg); // Asynchronous notification about messages and membership is available public void setReceiver (Receiver r); ... }