[
http://jira.jboss.com/jira/browse/JBREM-698?page=all ]
Ron Sigal closed JBREM-698.
---------------------------
Resolution: Done
* compressing marshaller/unmarshaller:
org.jboss.remoting.marshal.compress.CompressingMarshaller and
org.jboss.remoting.marshal.compress.CompressingUnMarshaller override
getMarshallingStream() inherited from
org.jboss.remoting.marshal.serializable.SerializableMarshaller and
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller, so that, instead of
returning object streams, they return the original streams (socket streams) unchanged.
* encrypting marshaller/unmarshaller:
Same as compressing marshaller/unmarshaller.
* http marshaller/unmarshaller:
org.jboss.remoting.marshal.http.HTTPMarshaller and
org.jboss.remoting.marshal.http.HTTPUnMarshaller are derived from SerializableMarshaller
and SerializableUnMarshallerf, and they inherit the getMarshallingStream() methods. When
the data is in binary form, they simply call the inherited write()/read() methods, which
use object streams. Otherwise, they use methods contained in the OutputStream/InputStream
classes
There are no new unit tests..
Update Remoting Marshaller/UnMarshallers to implement
PreferredStreamMarshaller/PreferredStreamUnMarshaller interfaces.
-----------------------------------------------------------------------------------------------------------------------
Key: JBREM-698
URL:
http://jira.jboss.com/jira/browse/JBREM-698
Project: JBoss Remoting
Issue Type: Task
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto)
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.4.0.CR1 (Pinto)
In response to JBREM-692 the org.jboss.remoting.marshal.PreferredStreamMarshaller and
org.jboss.remoting.marshal.PreferredStreamUnMarshaller interfaces were introduced, and
org.jboss.remoting.marshal.serializable.SerializableMarshaller and
org.jboss.remoting.marshal.serializable.SerializableUnMarshaller were modified to
implement them. In particular, they implement a getMarshallingStream() method which
returns an object stream that can be cached and reused by the transport layer.
Now, the other Remoting marshallers (http, compressing, encrypting) should also be made
to implement those interfaces.
--
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