Bug fixes
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.openautonomousconnection</groupId>
|
||||
<artifactId>protocol</artifactId>
|
||||
<version>1.0.0-BETA.5</version>
|
||||
<version>1.0.0-BETA.5.1</version>
|
||||
<organization>
|
||||
<name>Open Autonomous Connection</name>
|
||||
<url>https://open-autonomous-connection.org/</url>
|
||||
|
||||
@@ -105,8 +105,6 @@ public final class ProtocolBridge {
|
||||
*/
|
||||
@ProtocolInfo(protocolSide = ProtocolVersion.ProtocolSide.INS)
|
||||
public ProtocolBridge(ProtocolINSServer protocolINSServer, ProtocolSettings protocolSettings, ProtocolVersion protocolVersion, File logFolder) throws Exception {
|
||||
protocolINSServer.attachBridge(this);
|
||||
|
||||
// Assign the parameters to the class fields
|
||||
this.protocolINSServer = protocolINSServer;
|
||||
this.protocolSettings = protocolSettings;
|
||||
@@ -119,6 +117,9 @@ public final class ProtocolBridge {
|
||||
// Register the appropriate listeners and packets
|
||||
registerListeners();
|
||||
registerPackets();
|
||||
|
||||
// Assign Bridge
|
||||
protocolINSServer.attachBridge(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,8 +133,6 @@ public final class ProtocolBridge {
|
||||
*/
|
||||
@ProtocolInfo(protocolSide = ProtocolVersion.ProtocolSide.WEB)
|
||||
public ProtocolBridge(ProtocolWebServer protocolWebServer, ProtocolSettings protocolSettings, ProtocolVersion protocolVersion, File logFolder) throws Exception {
|
||||
protocolWebServer.attachBridge(this);
|
||||
|
||||
// Assign the parameters to the class fields
|
||||
this.protocolWebServer = protocolWebServer;
|
||||
this.protocolSettings = protocolSettings;
|
||||
@@ -146,6 +145,9 @@ public final class ProtocolBridge {
|
||||
// Register the appropriate listeners and packets
|
||||
registerListeners();
|
||||
registerPackets();
|
||||
|
||||
// Assign Bridge
|
||||
protocolINSServer.attachBridge(this);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -159,8 +161,6 @@ public final class ProtocolBridge {
|
||||
*/
|
||||
@ProtocolInfo(protocolSide = ProtocolVersion.ProtocolSide.CLIENT)
|
||||
public ProtocolBridge(ProtocolClient protocolClient, ProtocolSettings protocolSettings, ProtocolVersion protocolVersion, File logFolder) throws Exception {
|
||||
protocolClient.attachBridge(this);
|
||||
|
||||
// Assign the parameters to the class fields
|
||||
this.protocolClient = protocolClient;
|
||||
this.protocolSettings = protocolSettings;
|
||||
@@ -173,6 +173,9 @@ public final class ProtocolBridge {
|
||||
// Register the appropriate listeners and packets
|
||||
registerListeners();
|
||||
registerPackets();
|
||||
|
||||
// Assign Bridge
|
||||
protocolINSServer.attachBridge(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -86,8 +86,6 @@ public abstract class ProtocolINSServer extends DefaultMethodsOverrider {
|
||||
checkFileExists(folderStructure.publicServerFolder, folderStructure.certPrefix, ".crt");
|
||||
checkFileExists(folderStructure.privateServerFolder, folderStructure.certPrefix, ".key");
|
||||
|
||||
|
||||
|
||||
// Initialize the protocol bridge and clients list
|
||||
this.clients = new ArrayList<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user