[jboss-remoting-issues] [JBoss JIRA] Created: (JBREM-1009) Streaming should work with packet-based channels as well as stream-based channels
David Lloyd (JIRA)
jira-events at lists.jboss.org
Tue Jul 8 13:07:26 EDT 2008
Streaming should work with packet-based channels as well as stream-based channels
---------------------------------------------------------------------------------
Key: JBREM-1009
URL: http://jira.jboss.com/jira/browse/JBREM-1009
Project: JBoss Remoting
Issue Type: Task
Security Level: Public (Everyone can see)
Components: r3 api
Reporter: David Lloyd
Assigned To: David Lloyd
Fix For: 3.0.0-M3
OutputStreams and Writers are trivially implemented using streams - writes to the remote object are simply propagated across to channel. Other types of streams are more difficult to implement this way. InputStream for example has two types of messages - a data chunk and an exception chunk. Because of this, some basic framing is necessary; with only support for streams, this framing must take place within the stream handler which is a pain to implement.
So, a stream serializer should be able to register itself as a byte stream handler (using a StreamChannel) or a message stream handler (using a MessageChannel).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-remoting-issues
mailing list