Bug fix
This commit is contained in:
@@ -39,14 +39,14 @@ public abstract class ProtocolINSServer extends ProtocolCustomServer {
|
||||
/**
|
||||
* Constructs a ProtocolINSServer with the specified configuration file.
|
||||
*
|
||||
* @param insInfoSize The INS-InfoSize (IP:PORT)
|
||||
* @param insInfoSite The INS-InfoSize (IP:PORT)
|
||||
* @param insFrontendSite The INS-InfoSize (IP:PORT)
|
||||
* @throws IOException If an I/O error occurs.
|
||||
* @throws CertificateException If a certificate error occurs.
|
||||
*/
|
||||
public ProtocolINSServer(String insInfoSize, String insFrontendSite, int port) throws Exception {
|
||||
super("ins", "ins", port, 0);
|
||||
this.insInfoSite = insInfoSize;
|
||||
public ProtocolINSServer(String insInfoSite, String insFrontendSite, int tcpPort, int udpPort) throws Exception {
|
||||
super("ins", "ins", tcpPort, udpPort);
|
||||
this.insInfoSite = insInfoSite;
|
||||
this.insFrontendSite = insFrontendSite;
|
||||
setCustomClient(ConnectedProtocolClient.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user