This commit is contained in:
@@ -82,12 +82,12 @@ public abstract class WebSocketNode {
|
|||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
final CompletableFuture<Void> connect(final Serializable userid) {
|
final CompletableFuture<Void> connect(final Serializable userid) {
|
||||||
if (logger.isLoggable(Level.FINEST)) logger.finest(localSncpAddress + " receive websocket connect event (" + userid + " on " + this.localEngine.getEngineid() + ").");
|
if (logger.isLoggable(Level.FINEST)) logger.finest(localSncpAddress + " receive websocket connect event (" + userid + " on " + (this.localEngine == null ? null : this.localEngine.getEngineid()) + ").");
|
||||||
return connect(userid, localSncpAddress);
|
return connect(userid, localSncpAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
final CompletableFuture<Void> disconnect(final Serializable userid) {
|
final CompletableFuture<Void> disconnect(final Serializable userid) {
|
||||||
if (logger.isLoggable(Level.FINEST)) logger.finest(localSncpAddress + " receive websocket disconnect event (" + userid + " on " + this.localEngine.getEngineid() + ").");
|
if (logger.isLoggable(Level.FINEST)) logger.finest(localSncpAddress + " receive websocket disconnect event (" + userid + " on " + (this.localEngine == null ? null : this.localEngine.getEngineid()) + ").");
|
||||||
return disconnect(userid, localSncpAddress);
|
return disconnect(userid, localSncpAddress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user