This commit is contained in:
Finn
2026-01-18 21:58:42 +01:00
parent 50cd7b57ac
commit fb56d47b16

View File

@@ -39,14 +39,14 @@ public abstract class ProtocolINSServer extends ProtocolCustomServer {
/** /**
* Constructs a ProtocolINSServer with the specified configuration file. * 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) * @param insFrontendSite The INS-InfoSize (IP:PORT)
* @throws IOException If an I/O error occurs. * @throws IOException If an I/O error occurs.
* @throws CertificateException If a certificate error occurs. * @throws CertificateException If a certificate error occurs.
*/ */
public ProtocolINSServer(String insInfoSize, String insFrontendSite, int port) throws Exception { public ProtocolINSServer(String insInfoSite, String insFrontendSite, int tcpPort, int udpPort) throws Exception {
super("ins", "ins", port, 0); super("ins", "ins", tcpPort, udpPort);
this.insInfoSite = insInfoSize; this.insInfoSite = insInfoSite;
this.insFrontendSite = insFrontendSite; this.insFrontendSite = insFrontendSite;
setCustomClient(ConnectedProtocolClient.class); setCustomClient(ConnectedProtocolClient.class);
} }