public StompClient(string address, int port) { _transport = new StompTransport(address, port); _destinationStorage = new DestinationStorage(_transport); _subscriptionBehaviors = new SubscriptionBehaviorProvider(_transport); }
public DestinationStorage(StompTransport transport) { _transport = transport; _transport.IncommingMessages.GetObservable("MESSAGE").Subscribe(OnMessage); }