<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Issue with Push Notification</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Issue with Push Notification</description>
  <pubDate>Sat, 11 Apr 2026 11:23:33 -700</pubDate>
  <lastBuildDate>Mon, 16 Aug 2010 06:20:34 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1997</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Issue with Push Notification :       Originally posted...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8072#8072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=877" rel="nofollow">pompomJuice</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 16-Aug-2010 at 6:20am<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by kimj</strong></em><br /><br />The EntityManager provided to the Push service method is one of the special server-side only EMs created by DevForce for server-side code, as such, there won't be any activity on it other that what you do in that specific method, so listening for EntityChanged, or any other event, won't accomplish what you need.&nbsp; <div></div><div>&nbsp;</div><div>We don't have any recommendations on how to "listen" for server-side changes.&nbsp;&nbsp; One possibility, out of many, might be to&nbsp;implement a custom EntityServerSaveInterceptor and send messages regarding changes to the Push service method.</div></td></tr></table><div><br></div><div>That is good to know.</div><div><br></div><div>I have created a custom&nbsp;EntityServerSaveInterceptor (as you suggested) and managed to send that information to my push notifier and it is working brilliantly. Now if a user makes a change to a entity in one browser, another browser could get this information and act on it<b> in real time</b>. It is completely event driven, zero polling! (In silverlight 4)</div><div><br></div><div>The only issues I have now is that the current push notification service is to much of a "black box" service. For example, I implemented a push service that spams notifications to subscribers, only to notice that the notification manager seems to only burst notifications every 6 seconds. It would have been nice to have a piece of documentation that describes these kinds of behaviors.&nbsp;</div><span style="font-size:10px"><br /><br />Edited by pompomJuice - 16-Aug-2010 at 6:25am</span>]]>
   </description>
   <pubDate>Mon, 16 Aug 2010 06:20:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8072#8072</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : The EntityManager provided to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8064#8064</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 13-Aug-2010 at 8:38am<br /><br />The EntityManager provided to the Push service method is one of the special server-side only EMs created by DevForce for server-side code, as such, there won't be any activity on it other that what you do in that specific method, so listening for EntityChanged, or any other event, won't accomplish what you need.&nbsp; <DIV></DIV><DIV>&nbsp;</DIV><DIV>We don't have any recommendations on how to "listen" for server-side changes.&nbsp;&nbsp; One possibility, out of many, might be to&nbsp;implement a custom EntityServerSaveInterceptor and send messages regarding changes to the Push service method.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Aug 2010 08:38:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8064#8064</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Could you do something like the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8062#8062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=877" rel="nofollow">pompomJuice</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 13-Aug-2010 at 2:08am<br /><br /><P>Could you do something like the following in your push service handler on the server?</P><DIV>&nbsp;</DIV><DIV>&nbsp;<FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><P>__entityManager</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.</FONT></FONT><FONT color=#ff00ff size=2 face=C&#111;nsolas><FONT color=#ff00ff size=2 face=C&#111;nsolas><FONT color=#ff00ff size=2 face=C&#111;nsolas>EntityChanged</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas>+=</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> (s, e) =&gt; </P><P></FONT></FONT><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas>__notificationManager</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.</FONT></FONT><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas>GetSubscribers</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas>__serviceKey</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>).</FONT></FONT><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas>ForEach</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(subscriber =&gt; </P><P></FONT></FONT><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas>__notificationManager</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.</FONT></FONT><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas><FONT color=#008b8b size=2 face=C&#111;nsolas>Send</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>(</FONT></FONT><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas><FONT color=#800080 size=2 face=C&#111;nsolas>__serviceKey</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>,subscriber,</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Entity Changed"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>));</P><DIV></DIV><DIV>I am trying to scan for changes on the server side and broadcast them and it's not working.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 13 Aug 2010 02:08:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=8062#8062</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : The NotificationManager does periodic...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7803#7803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 26-Jul-2010 at 10:33am<br /><br /><DIV>The NotificationManager does periodic cleanup (this is currently performed every 10 minutes and is not configurable) on the subscription pool.&nbsp; When any attempt to send a message to or ping the subsriber fails the subscriber is removed from the pool.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 26 Jul 2010 10:33:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7803#7803</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Hi Kim, Sorry missed that part...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7799#7799</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 25-Jul-2010 at 3:40pm<br /><br />Hi Kim, Sorry missed that part of the post (blonde moment).<DIV>&nbsp;</DIV><DIV>Changing the type to NotificationSubscriber has fixed the issue.</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your help.</DIV><DIV>&nbsp;</DIV><DIV>One question. If a user subscribes and than they just close the browser and we dont CancelCallBack on their subscripton. Will their subscription just be left there in the notificationManager's Subscription pool? Is there anything we can do about this if this is the case?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Sun, 25 Jul 2010 15:40:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7799#7799</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Yes, the workaround is to do what...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7779#7779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 23-Jul-2010 at 10:02am<br /><br />Yes, the workaround is to do what I mentioned when I edited my last post, your loop would&nbsp;look like this&nbsp;- <DIV>&nbsp;</DIV><DIV>For Each subscriber As <strong>NotificationSubscriber</strong>&nbsp; In __notificationManager.GetSubscribers(__serviceKey)</DIV><DIV>__notificationManager.Send(__serviceKey, subscriber, "SEND TO CALL BACK")</DIV><DIV>Next <BR></DIV><DIV>&nbsp;</DIV><DIV>In those situations where you are sending exactly the same message to all subscribers, then not looping through the GetSubscribers list but instead calling Send(serviceKey, message&#091;s&#093;) is the way to go.</DIV><span style="font-size:10px"><br /><br />Edited by kimj - 23-Jul-2010 at 10:03am</span>]]>
   </description>
   <pubDate>Fri, 23 Jul 2010 10:02:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7779#7779</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Yeah I changed the line: __no...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7774#7774</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 22-Jul-2010 at 7:24pm<br /><br /><P>Yeah I changed the line:</P><DIV>&nbsp;__notificationManager.Send(__serviceKey, subscriber, <FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"SEND TO CALL BACK"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>to:</DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>__notificationManager.Send(__serviceKey,&nbsp; <FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"SEND TO CALL BACK"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>And it worked. </DIV><DIV>&nbsp;</DIV><DIV>It does look like it is a vb issue (the csharp Push&nbsp;sample worked perfectly), same as what i had with the savechanges overloads with the version before last.</DIV><DIV>&nbsp;</DIV><DIV>Problem is i cant be doing a broadcast for this situation because it will kill performance. Is there a workaround or a fix for this?</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 19:24:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7774#7774</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Does the sample for the &amp;#034;OrderWatcher&amp;#034;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7773#7773</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 22-Jul-2010 at 7:15pm<br /><br /><FONT size=2 face="Verdana, Arial, Helvetica, sans-serif">Does the sample for the "OrderWatcher" service actually work for you?&nbsp; I'm thinking this might be an issue with VB and the overloads defined on the NotificationManager Send method, which are: </FONT><DIV><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas><P><FONT size=2>void Send(Guid serviceKey, params Object&#091;&#093; args);<BR>void Send(Guid serviceKey, NotificationSubscriber subscriber, params Object&#091;&#093; args);</FONT></P><DIV></FONT></FONT><FONT size=2 face="Verdana, Arial, Helvetica, sans-serif">Since the NotificationSubscriber is being serialized with the message then it does look like the wrong overload is being chosen by the compiler.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>For the moment, since your sample code is not sending subscriber-specific messages, try instead doing a "broadcast" type of send to all subscribers, as shown in the "LongRunningProcedure" service.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>ETA - I just saw that you're typing subscriber as an object in your foreach loop.&nbsp; Instead use:</FONT></DIV><DIV><FONT size=2>For<FONT face=C&#111;nsolas><FONT face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas>Each</FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas> subscriber </FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas>As</FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas>NotificationSubscriber </FONT></FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas>In</FONT></FONT></FONT><FONT face=C&#111;nsolas><FONT face=C&#111;nsolas> __notificationManager.GetSubscribers(__serviceKey)</FONT></FONT></FONT></DIV><DIV><FONT size=2 face="Verdana, Arial, Helvetica, sans-serif"></FONT></DIV></DIV><span style="font-size:10px"><br /><br />Edited by kimj - 22-Jul-2010 at 7:19pm</span>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 19:15:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7773#7773</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Hi Kim, I already checked the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7772#7772</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 22-Jul-2010 at 6:45pm<br /><br /><P>Hi Kim, I already checked the references.</P><DIV>I checked the log and it is throwing the following message:</DIV><DIV>&nbsp;</DIV><DIV>Removing subscriber after error Type 'IdeaBlade.EntityModel.NotificationSubscriber' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 18:45:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7772#7772</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Are you doing this in a Silverlight...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7770#7770</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 22-Jul-2010 at 6:26pm<br /><br /><P>Are you doing this in a Silverlight application?&nbsp; If so, be sure to include the following:</P><DIV>In the Silverlight application - add references to IdeaBlade.EntityModel.Push.SL.dll and System.ServiceModel.PollingDuplex.dll.&nbsp; You can find the polling duplex dll in the Silverlight SDK "Libraries\<strong>Client</strong>" folder.</DIV><DIV>&nbsp;</DIV><DIV>In the web application - add a reference to the System.ServiceModel.PollingDuplex.dll, which you can also find in the Silverlight SDK but in the "Libraries\<strong>Server</strong>" folder.</DIV><DIV>&nbsp;</DIV><DIV>Also check the debug log in the web project to see if any pertinent messages were written there.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 18:26:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7770#7770</guid>
  </item> 
  <item>
   <title>Issue with Push Notification : Hi All, Im trying to create a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7768#7768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=441" rel="nofollow">*Calsy</a><br /><strong>Subject:</strong> 1997<br /><strong>Posted:</strong> 22-Jul-2010 at 5:18pm<br /><br /><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif">Hi All, Im trying to create a simple push notification so that when a record is entered into the database the client is notified.</FONT><DIV>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif"><FONT color=#000000 size=2>The problem is when i call the "__notificationManager.Send" from the server my client doesnt seem to pick it up (i.e. the method i set as the callback in my registercallback is not being entered). Following is my code:</FONT></FONT></DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif">Client side:</FONT></DIV><DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV><DIV><FONT size=2>****************************</FONT></DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> _owToken </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>String</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> SetupListenerTest()</P><P>_owToken = </FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"2"</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>TestEntities</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.DefaultManager.RegisterCallback(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"DomainModel.ChatListener, DomainModel"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, </FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"NewChatMessage"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>, </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>AddressOf</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> ChatCallBack, _owToken, </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>SystemProperties</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.CurrentLoggedInUser.TestUserID)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub<FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas></P><P>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> ChatCallBack(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>ByVal</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> op </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>SubscriptionOperation</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000>)</FONT></P><P></FONT></FONT></FONT></FONT></FONT><P><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></P></FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>MessageBox</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.Show(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"CALL BACK HIT"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT size=2>Sub</FONT></P><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>****************************</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2>Server Side:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>****************************</FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Imports</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000> System</FONT></P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Imports</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000> System.Linq</FONT></P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Imports</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000> System.Threading</FONT></P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Imports</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000> IdeaBlade.EntityModel</FONT></P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Imports</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><FONT color=#000000> IdeaBlade.Core</FONT></P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>Public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ChatListener</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> __serviceKey </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Guid</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> __notificationManager </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> INotificationManager</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> __entityManager </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> TestEntities</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> __lastCheckTime </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> DateTime = DateTime.SpecifyKind(DateTime.Today, DateTimeKind.Utc)</P><P>&lt;AllowRpc()&gt; _</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> NewChatMessage(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>ByVal</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> serviceKey </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> Guid, </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>ByVal</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> notificationManager </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> INotificationManager, </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>ByVal</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> entityManager </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> EntityManager)</P><P>__serviceKey = serviceKey</P><P>__notificationManager = notificationManager</P><P>__entityManager = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>New</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> TestEntities(entityManager)</P><P></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>' Create a sub-typed server-side EM.</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>TraceFns</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.WriteLine(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Chat Listener started"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>While</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>True</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>'LOOP THROUGH AND SEND ALL THE TIME (FOR TESTING)</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P>CheckForNewChat()</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>While</FONT></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas></P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>TraceFns</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.WriteLine(</FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"Chat exiting"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Shared</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> CheckForNewChat()</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas></P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas><FONT color=#008000 size=2 face=C&#111;nsolas>'CALL IT EVERYTIME REGARDLESS</P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>For</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Each</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> subscriber </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>As</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Object</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>In</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> __notificationManager.GetSubscribers(__serviceKey)</P><P>__notificationManager.Send(__serviceKey, subscriber, </FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>"SEND TO CALL BACK"</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>)</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Next</FONT></FONT></FONT><P><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas></P></FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><P></P></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Sub</P><P>End</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT color=#000000 size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT color=#0000ff face=C&#111;nsolas><FONT size=2>Class</FONT></P><DIV><FONT size=2></FONT></DIV><DIV><FONT size=2>****************************</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT face="Arial, Helvetica, sans-serif"><FONT color=#000000 size=2>It executes the NewChatMessage and CheckForNewChat message correctly, but nothing happens when i call the "__notificationManager.Send(__serviceKey, subscriber, "SEND TO CALL BACK") line.</FONT></FONT></DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif">Ive checked all&nbsp;references against the ideablade sample, ive double checked the web.config and made sure it is a spinning image of the ideablade sample web.config.</FONT></DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif">Any ideas on why the Callback wouldnt be being raised???</FONT></DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT color=#000000 size=2 face="Arial, Helvetica, sans-serif">Thanks in advance</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV></FONT></FONT></FONT></DIV></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 17:18:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1997&amp;PID=7768#7768</guid>
  </item> 
 </channel>
</rss>