If you are using GitLab outside of the ILL, then you will need to use HTTPS and not SSH for clone/push/pull operations. SSH will work normally if you are using the VPN.

Commit 28960c47 authored by ics's avatar ics

Multi clients synchro for files

parent 83035e50
......@@ -99,6 +99,11 @@ public class ResourceManager {
public String getTree(String rootDirectory) {
return ServantManagerAccessor.getInstance(serverId).getTree(rootDirectory);
public void deleteFile(String fileName) {
public HashMap<String, String> getFamilyImageKeys() {
......@@ -1105,4 +1105,28 @@ public class ServantManagerAccessor {
return "";
public void deleteFile(String fileName) {
// Create the message type.
ServantManagerRequest.Message type = ServantManagerRequest.Message.newBuilder()
// Create the request.
ServantManagerRequest.DeleteFileRequest request = ServantManagerRequest.DeleteFileRequest.newBuilder()
servantManagerRequester.sendTwoParts(type.toByteArray(), request.toByteArray());
try {
catch (InvalidProtocolBufferException e) {
LOGGER.logp(Level.WARNING, this.getClass().getName(), "deleteFile", "error in parsing response");
\ No newline at end of file
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