private void OnStompCommand_Connect(StompServerClient client, StompMessage message) { if (StompLogger.CanLogDebug) { StompLogger.LogDebug(client.ToString() + " connected with session-id " + client.SessionId.ToString()); } StompMessage result = new StompMessage("CONNECTED"); result["session-id"] = client.SessionId.ToString(); client.Send(result); }
private void OnStompCommand_Connect(StompServerClient client, StompMessage message) { if (StompLogger.CanLogDebug) StompLogger.LogDebug(client.ToString() + " connected with session-id " + client.SessionId.ToString()); StompMessage result = new StompMessage("CONNECTED"); result["session-id"] = client.SessionId.ToString(); client.Send(result); }