com.alachisoft.ncache.client.CacheConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncache-professional-client Show documentation
Show all versions of ncache-professional-client Show documentation
NCache Professional client for java.
package com.alachisoft.ncache.client;
public class CacheConnection implements Cloneable {
private String server;
private int port;
public CacheConnection(String server, int port) {
setServer(server);
setPort(port);
}
public CacheConnection(String server) {
setServer(server);
setPort(8250);
}
public String getServer() {
return server;
}
private void setServer(String value) {
server = value;
}
public int getPort() {
return port;
}
private void setPort(int value) {
port = value;
}
}