|
|
@ -119,7 +119,7 @@ public class DesignerSocketIO { |
|
|
|
socket = IO.socket(new URI(connectionInfo.getUri()), connectionInfo.getSocketConfig().createOptions()); |
|
|
|
socket = IO.socket(new URI(connectionInfo.getUri()), connectionInfo.getSocketConfig().createOptions()); |
|
|
|
socket.on(WorkspaceConstants.WS_LOGRECORD, printLog); |
|
|
|
socket.on(WorkspaceConstants.WS_LOGRECORD, printLog); |
|
|
|
socket.on(WorkspaceConstants.CONFIG_MODIFY, modifyConfig); |
|
|
|
socket.on(WorkspaceConstants.CONFIG_MODIFY, modifyConfig); |
|
|
|
socket.on(WorkspaceConstants.AUTHOR_SERVER_DATA_IT, authorServerDataIt); |
|
|
|
socket.on(WorkspaceConstants.AUTHOR_SERVER_DATA_IT, MODIFY_AUTHOR_SERVER_DATA_IT); |
|
|
|
socket.on(Socket.EVENT_CONNECT_ERROR, failRetry); |
|
|
|
socket.on(Socket.EVENT_CONNECT_ERROR, failRetry); |
|
|
|
socket.on(Socket.EVENT_DISCONNECT, disConnectHint); |
|
|
|
socket.on(Socket.EVENT_DISCONNECT, disConnectHint); |
|
|
|
socket.on(Socket.EVENT_CONNECT, handleConnect); |
|
|
|
socket.on(Socket.EVENT_CONNECT, handleConnect); |
|
|
@ -315,7 +315,7 @@ public class DesignerSocketIO { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
private static final Emitter.Listener authorServerDataIt = new Emitter.Listener() { |
|
|
|
private static final Emitter.Listener MODIFY_AUTHOR_SERVER_DATA_IT = new Emitter.Listener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void call(Object... objects) { |
|
|
|
public void call(Object... objects) { |
|
|
|
FineLoggerFactory.getLogger().info("[AuthServerDataSetNamesIt] update server data author"); |
|
|
|
FineLoggerFactory.getLogger().info("[AuthServerDataSetNamesIt] update server data author"); |
|
|
|