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