<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cairngorm Patterns: Abstract Delegate</title>
	<atom:link href="http://www.fusioncube.net/index.php/abstractdelegate-for-cairngorm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fusioncube.net/index.php/abstractdelegate-for-cairngorm</link>
	<description>The online journey of a technophile, by Steve Brownlee</description>
	<lastBuildDate>Mon, 30 Jan 2012 21:28:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tess</title>
		<link>http://www.fusioncube.net/index.php/abstractdelegate-for-cairngorm/comment-page-1#comment-34342</link>
		<dc:creator>Tess</dc:creator>
		<pubDate>Wed, 12 Aug 2009 23:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=345#comment-34342</guid>
		<description>Thanks for the example.  In the meantime I came up with a similar class that routes requests to the various HTTPServices I&#039;m using. I do really like how my implementation of the abstract classes is working so far.</description>
		<content:encoded><![CDATA[<p>Thanks for the example.  In the meantime I came up with a similar class that routes requests to the various HTTPServices I&#8217;m using. I do really like how my implementation of the abstract classes is working so far.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Brownlee</title>
		<link>http://www.fusioncube.net/index.php/abstractdelegate-for-cairngorm/comment-page-1#comment-34302</link>
		<dc:creator>Steve Brownlee</dc:creator>
		<pubDate>Tue, 04 Aug 2009 17:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=345#comment-34302</guid>
		<description>The RemoteFactoryLocator class just creates the RemoteObject needed to communicate with my middleware package (usually ColdFusion).

Here&#039;s a snippet of the constructor, and the send() function...
&lt;pre class=&quot;code&quot;&gt;&lt;code&gt;
private var _remotingChannel:Channel;      
private var _svc:RemoteObject = new RemoteObject();

public function RemoteFactoryLocator()
{
   _remotingChannel = new AMFChannel(&quot;my-cfamf&quot;, &quot;http://&quot; + _appParams.httpHost + &quot;/flex2gateway/&quot;);
   _remotingAMFChannelSet.addChannel(_remotingChannel);
			
   _svc.channelSet = _remotingAMFChannelSet;
   _svc.destination = _appParams.destination;
   _svc.source = _appParams.remotingService;
}

public function send(eventName:String, eventData:Object, responder:IResponder):AsyncToken
{
   var token:AsyncToken = _svc.invokeEvent(eventName, eventData);
   token.addResponder(responder);
   return token;
}
&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>The RemoteFactoryLocator class just creates the RemoteObject needed to communicate with my middleware package (usually ColdFusion).</p>
<p>Here&#8217;s a snippet of the constructor, and the send() function&#8230;</p>
<pre class="code"><code>
private var _remotingChannel:Channel;
private var _svc:RemoteObject = new RemoteObject();

public function RemoteFactoryLocator()
{
   _remotingChannel = new AMFChannel("my-cfamf", "http://" + _appParams.httpHost + "/flex2gateway/");
   _remotingAMFChannelSet.addChannel(_remotingChannel);

   _svc.channelSet = _remotingAMFChannelSet;
   _svc.destination = _appParams.destination;
   _svc.source = _appParams.remotingService;
}

public function send(eventName:String, eventData:Object, responder:IResponder):AsyncToken
{
   var token:AsyncToken = _svc.invokeEvent(eventName, eventData);
   token.addResponder(responder);
   return token;
}
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tess</title>
		<link>http://www.fusioncube.net/index.php/abstractdelegate-for-cairngorm/comment-page-1#comment-34265</link>
		<dc:creator>Tess</dc:creator>
		<pubDate>Tue, 21 Jul 2009 16:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fusioncube.net/?p=345#comment-34265</guid>
		<description>I like these abstract classes you&#039;ve written about.  But what does the RemoteFactoryLocator look like?</description>
		<content:encoded><![CDATA[<p>I like these abstract classes you&#8217;ve written about.  But what does the RemoteFactoryLocator look like?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

