Commit 044935b5 authored by yannick legoc's avatar yannick legoc
Browse files

Replaced Corba DatabaseAccessor with Cameo DatabaseResponder.

parent f7087a13
......@@ -198,11 +198,6 @@
<arg line="${idlFlags} ${idlCoreDir}/ServantManager.idl" />
</exec>
<echo message="Generating DatabaseAccessor.java" />
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/DatabaseAccessor.idl" />
</exec>
<echo message="Generating CommandZoneAccessor.java" />
<exec executable="idl">
<arg line="${idlFlags} ${idlCoreDir}/commandzone/CommandZoneAccessor.idl" />
......@@ -351,6 +346,16 @@
<exec executable="protoc">
<arg line="${protoFlags} ${protoDir}/NotificationMessages.proto" />
</exec>
<echo message="Generating CommonResponses.java" />
<exec executable="protoc">
<arg line="${protoFlags} ${protoDir}/CommonResponses.proto" />
</exec>
<echo message="Generating DatabaseRequests.java" />
<exec executable="protoc">
<arg line="${protoFlags} ${protoDir}/DatabaseRequests.proto" />
</exec>
</target>
</configuration>
......
......@@ -37,6 +37,7 @@ public class Int32Property extends IntegerProperty {
}
public boolean setServerValue(String value) {
try {
String serverValue = this.propertyFormat.unformat(value);
boolean ok = isOk(serverValue);
......
......@@ -219,6 +219,9 @@ public class LogSubscriber {
e.printStackTrace();
}
// Terminate the subscriber.
subscriber.terminate();
System.out.println("Unsubscribed from the log");
}
......
......@@ -154,6 +154,8 @@ public class ServerSessionManager {
LogSubscriber.getInstance(serverId).unsubscribe();
SurveySubcriberImpl.getInstance(serverId).unsubscribe();
DataAccessor.getInstance(serverId).reset();
currentSession.logout();
currentSession = null;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment