|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferredStreamMarshaller
A PreferedStreamMarshaller can create from a raw OutputStream the particular OutputStream it prefers to use.
Copyright (c) Jan 26, 2007
Method Summary | |
---|---|
java.io.OutputStream |
getMarshallingStream(java.io.OutputStream outputStream)
An application that calls getMarshallingStream() should provide a basic OutputStream, e.g., SocketOutputStream, which can be wrapped to provide the facilities desired by the PreferredStreamMarshaller. |
java.io.OutputStream |
getMarshallingStream(java.io.OutputStream outputStream,
java.util.Map config)
An application that calls getMarshallingStream() should provide a basic OutputStream, e.g., SocketOutputStream, which can be wrapped to provide the facilities desired by the PreferredStreamMarshaller. |
Methods inherited from interface org.jboss.remoting.marshal.SerialMarshaller |
---|
getSerializationType, setSerializationType |
Methods inherited from interface org.jboss.remoting.marshal.Marshaller |
---|
cloneMarshaller, write |
Method Detail |
---|
java.io.OutputStream getMarshallingStream(java.io.OutputStream outputStream) throws java.io.IOException
outputStream
- a raw OutputStream
java.io.IOException
- if it unable to create OutputStreamjava.io.OutputStream getMarshallingStream(java.io.OutputStream outputStream, java.util.Map config) throws java.io.IOException
outputStream
- a raw OutputStreamconfig
- a Map with configuration information (e.g., serialization type)
java.io.IOException
- if it unable to create OutputStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |