class ConnectivityManager {

    public void publishDisconnect(boolean closedByServer) {
        for (ConnectListener listener : listeners) {
            listener.onDisconnect(closedByServer);
        }
    }

    public  ConnectivityManager();

}