<?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: LocalMessageSender with strongly typed objects</title>
	<atom:link href="http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/</link>
	<description>the colors of my life</description>
	<lastBuildDate>Tue, 07 Feb 2012 11:04:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Pradeep</title>
		<link>http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/comment-page-1/#comment-5968</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Thu, 26 Nov 2009 11:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/#comment-5968</guid>
		<description>You know what, mashe, I was thinking of doing the exact same thing. I will get to it soon.</description>
		<content:encoded><![CDATA[<p>You know what, mashe, I was thinking of doing the exact same thing. I will get to it soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binil Thomas</title>
		<link>http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/comment-page-1/#comment-5966</link>
		<dc:creator>Binil Thomas</dc:creator>
		<pubDate>Thu, 26 Nov 2009 04:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://pradeepc.net/blog/2009/11/25/localmessagesender-with-strongly-typed-objects/#comment-5966</guid>
		<description>This repeats the seriazation/deserialization lines all over the codebase. Is is possible to create higher level senders/receivers which natively knows how to do this serialization?

class TypedMessageSender implements IMessageSender {
	public TypedMessageSender(IMessageSender rawSender) { .. }
	
	public void sendObject(T obj) {
		rawSender.send(serialize(obj));
	}
}</description>
		<content:encoded><![CDATA[<p>This repeats the seriazation/deserialization lines all over the codebase. Is is possible to create higher level senders/receivers which natively knows how to do this serialization?</p>
<p>class TypedMessageSender implements IMessageSender {<br />
	public TypedMessageSender(IMessageSender rawSender) { .. }</p>
<p>	public void sendObject(T obj) {<br />
		rawSender.send(serialize(obj));<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

