| |
|
| org.objectweb.celtix.context.StreamMessageContext
All known Subclasses: org.objectweb.celtix.bus.context.StreamMessageContextImpl,
StreamMessageContext | public interface StreamMessageContext extends MessageContext(Code) | | A MessageContext that provide access to the underlying streams
involved in a message exchange
|
getInputStream | InputStream getInputStream()(Code) | | Get the underlying InputStream from which the incoming message
can be read
the InputStream or null if there is no InputStreamavailable (for example on the outbound leg of a messageexchange. |
getOutputStream | OutputStream getOutputStream()(Code) | | Get the underlying OutputStream from which the outgoing message
can be read
the OutputStream or null if there is no OutputStreamavailable (for example on the inbound leg of a messageexchange. |
setInputStream | void setInputStream(InputStream in)(Code) | | Set the InputStream to read the message from. Can be used to
replace the InputStream from which the message is read. This
can be used to carry out some sort of transformation on the
data before it is sent over the network.
|
setOutputStream | void setOutputStream(OutputStream in)(Code) | | Set the OutputStream to write the message to. Can be used to
replace the OutputStream to which the message is writetn. This
can be used to carry out some sort of transformation on the
data as it is being read from the network.
|
|
|
|