Subject: Signal r with xmpp
Alex, i have seen your example signal r with xmpp, it is good, hub and xmpp are tightly coupled, on every xmpp event is written in the hub. i want to use hub in different classes forexample presencemanagerclass
forexample
forexample
- class presencemanager
- {
- // i have refrence of hub
- var context = GlobalHost.ConnectionManager.GetHubContext<ChatHub>();
- //i want here to send to specific user
- //how can i get this connectionid in outside the hub
- context.Clients.Client(connectionid).sendPresence();
- }