package server;
import java.io.IOException;
public interface Communicator {
// public class TimeoutException extends RuntimeException { }
// void setTimeout(int timeout) throws IOException;
void establish() throws IOException;
// void waitUntilReady() throws IOException;
void sendMsg(Message m) throws IOException;
Message receiveMsg() throws IOException;
public Connector getConnector();
}