
com.app.common.cluster.ICluster Maven / Gradle / Ivy
package com.app.common.cluster;
import java.util.List;
public interface ICluster {
String getClusterName();
//Server
public abstract void removeServerListener(IClusterServerListener clusterListener);
public abstract void addServerListener(IClusterServerListener clusterListener);
public abstract void startServer(ServerInfo serverInfo) throws Exception;
//Client
public abstract void startClient(ServerInfo serverInfo, IClusterClientListener clusterListener) throws Exception;
public abstract List getServerInfo(ServerInfo serverInfo) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy