|
@@ -98,7 +98,7 @@ public class WhiteboardHandler {
|
|
|
pubSubStore.publish(PubSubType.DISPATCH, new DispatchMessage(roomId, packet, namespace));
|
|
|
|
|
|
log.info("dispatchMessage SYNC_MESSAGE roomId={}, sid={}, eventName={}, ns={}, addr={}", roomId, client.getSessionId(), eventName,
|
|
|
- client.getNamespace(), client.getRemoteAddress());
|
|
|
+ client.getNamespace().getName(), client.getRemoteAddress());
|
|
|
} catch (Exception e) {
|
|
|
log.error("PubSubType.DISPATCH roomId={}, sid={}", roomId, client.getSessionId(), e);
|
|
|
}
|
|
@@ -248,7 +248,7 @@ public class WhiteboardHandler {
|
|
|
*/
|
|
|
@OnEvent(value = EVENT_SERVER_BROADCAST)
|
|
|
public void serverBroadcast(SocketIOClient client, String roomId, byte[] encryptedData, byte[] iv) {
|
|
|
- log.info("serverBroadcast SYNC_MESSAGE roomId={}, ns={}, sessionId={}, addr={}", roomId, client.getNamespace(),
|
|
|
+ log.info("serverBroadcast SYNC_MESSAGE roomId={}, ns={}, sessionId={}, addr={}", roomId, client.getNamespace().getName(),
|
|
|
client.getSessionId(), client.getRemoteAddress());
|
|
|
|
|
|
BroadcastOperations roomOperations = namespace.getRoomOperations(roomId);
|
|
@@ -268,7 +268,7 @@ public class WhiteboardHandler {
|
|
|
*/
|
|
|
@OnEvent(value = EVENT_SERVER_VOLATILE_BROADCAST)
|
|
|
public void serverVolatileBroadcast(SocketIOClient client, String roomId, byte[] encryptedData, byte[] iv) {
|
|
|
- log.info("serverVolatileBroadcast SYNC_MESSAGE roomId={}, ns={}, sessionId={}, addr={}", roomId, client.getNamespace(),
|
|
|
+ log.info("serverVolatileBroadcast SYNC_MESSAGE roomId={}, ns={}, sessionId={}, addr={}", roomId, client.getNamespace().getName(),
|
|
|
client.getSessionId(), client.getRemoteAddress());
|
|
|
|
|
|
BroadcastOperations roomOperations = namespace.getRoomOperations(roomId);
|