<?xml version="1.0" encoding="ISO-8859-1"?><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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Powered by Apache Mina</title>
	<atom:link href="http://gfrison.com/2009/04/24/powered-by-apache-mina/feed/" rel="self" type="application/rss+xml" />
	<link>http://gfrison.com/2009/04/24/powered-by-apache-mina/</link>
	<description>Fundamentals never go out of style</description>
	<lastBuildDate>Thu, 30 Apr 2009 07:05:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nyarlathotep</title>
		<link>http://gfrison.com/2009/04/24/powered-by-apache-mina/#comment-63</link>
		<dc:creator>Nyarlathotep</dc:creator>
		<pubDate>Thu, 30 Apr 2009 07:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://gfrison.com/?p=73#comment-63</guid>
		<description>Mina isn&#039;t limited to request-response only.
Everytime some bytes commining in, or you are writing a message to the session, a chain of filters is triggered. You can specify the filters on your needs. One of them is the (Demuxing)ProtocolCodecFilter which takes a decoder and an encoder.
You just call IoSession.write() with you message object and the encoder will be triggered.
When bytes dripping in, the decoder will be triggered and, if finished, the parsed message object forwarded to the next filter.
Your app won&#039;t get in contact with the byte stream, which offers a nice abstraction of the underlying protocol.</description>
		<content:encoded><![CDATA[<p>Mina isn&#8217;t limited to request-response only.<br />
Everytime some bytes commining in, or you are writing a message to the session, a chain of filters is triggered. You can specify the filters on your needs. One of them is the (Demuxing)ProtocolCodecFilter which takes a decoder and an encoder.<br />
You just call IoSession.write() with you message object and the encoder will be triggered.<br />
When bytes dripping in, the decoder will be triggered and, if finished, the parsed message object forwarded to the next filter.<br />
Your app won&#8217;t get in contact with the byte stream, which offers a nice abstraction of the underlying protocol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giancarlo Frison</title>
		<link>http://gfrison.com/2009/04/24/powered-by-apache-mina/#comment-61</link>
		<dc:creator>Giancarlo Frison</dc:creator>
		<pubDate>Wed, 29 Apr 2009 19:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://gfrison.com/?p=73#comment-61</guid>
		<description>Sure. Once you get the IoSession, from TCP connection for instance, you could forward packets in whatever thread you need using IoSession.write().</description>
		<content:encoded><![CDATA[<p>Sure. Once you get the IoSession, from TCP connection for instance, you could forward packets in whatever thread you need using IoSession.write().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kwade</title>
		<link>http://gfrison.com/2009/04/24/powered-by-apache-mina/#comment-60</link>
		<dc:creator>kwade</dc:creator>
		<pubDate>Wed, 29 Apr 2009 17:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://gfrison.com/?p=73#comment-60</guid>
		<description>Very interesting.  Especially the part about DemuxingIoHandler; very cool.  But, I am curious as to how one would use mina to &quot;forward notifications asynchronously to the client.&quot;  I can see how mina allows for a request/response type of handling.  But it&#039;s not obvious to me how -- if you had some server-side event happen that you wanted to notify clients about -- you could get connections to those connected clients and then push a message to them asynchronously?</description>
		<content:encoded><![CDATA[<p>Very interesting.  Especially the part about DemuxingIoHandler; very cool.  But, I am curious as to how one would use mina to &#8220;forward notifications asynchronously to the client.&#8221;  I can see how mina allows for a request/response type of handling.  But it&#8217;s not obvious to me how &#8212; if you had some server-side event happen that you wanted to notify clients about &#8212; you could get connections to those connected clients and then push a message to them asynchronously?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://gfrison.com/2009/04/24/powered-by-apache-mina/#comment-59</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Tue, 28 Apr 2009 03:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://gfrison.com/?p=73#comment-59</guid>
		<description>Great article!</description>
		<content:encoded><![CDATA[<p>Great article!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
