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.
|
* 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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user