Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bilalkhan #1
Member since Oct 2016 · 81 posts · Location: Pakistan
Group memberships: Members
Show profile · Link to this post
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

  1. class presencemanager
  2. {
  3.              // i have refrence of hub
  4.               var context = GlobalHost.ConnectionManager.GetHubContext<ChatHub>();
  5.               //i want here to send to specific user
  6.              
  7. //how can i get this connectionid in outside the hub
  8.  
  9.             context.Clients.Client(connectionid).sendPresence();
  10. }
This post was edited on 2016-11-02, 14:02 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4296 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
See here for example:
http://stackoverflow.com/questions/20908620/how-to-obtain-…
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS