public void Setup() { var inMemoryListener = new StompInMemoryListener(); _server = new StompServer(inMemoryListener); _client1 = new StompClient(new InMemoryTransport(inMemoryListener)); _server.Start(); _client1.Connect(); }
public void Setup() { var inMemoryListener = new StompInMemoryListener(); _server = new StompServer(inMemoryListener); _client1 = new StompClient(new InMemoryTransport(inMemoryListener)); _server.Start(); _client1.Connect(); }
public void Setup() { var inMemoryListener = new StompInMemoryListener(); var wsListener = new StompWebsocketListener("ws://localhost:8080/"); _server = new StompServer(inMemoryListener, wsListener); _client1 = new StompClient(new InMemoryTransport(inMemoryListener)); _client2 = new StompClient(new WebTransportTransport("ws://localhost:8080/")); _server.Start(); _client1.Connect(); _client2.Connect(); }
public void Setup() { var inMemoryListener = new StompInMemoryListener(); var wsListener = new StompWebsocketListener("ws://localhost:8080/"); _server = new StompServer(inMemoryListener, wsListener); _client1 = new StompClient(new InMemoryTransport(inMemoryListener)); _client2 = new StompClient(new WebTransportTransport("ws://localhost:8080/")); _server.Start(); _client1.Connect(); _client2.Connect(); }
/// <summary> /// Initializes a new instance of the <see cref="InMemoryTransport"/> class. /// </summary> /// <param name="stompInMemoryListener">The in memory listener.</param> public InMemoryTransport(StompInMemoryListener stompInMemoryListener) { _stompInMemoryListener = stompInMemoryListener; }
/// <summary> /// Initializes a new instance of the <see cref="InMemoryTransport"/> class. /// </summary> /// <param name="stompInMemoryListener">The in memory listener.</param> public InMemoryTransport(StompInMemoryListener stompInMemoryListener) { _stompInMemoryListener = stompInMemoryListener; }