|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UMOStreamMessageAdapter
A stream message adapter rovides a generic base class for stream based message flows in Mule. This adapter represents the 3 flows of data that Mule identifies, namely inbound, outbound and response flows. These are represented by three streams on the adapter.
Method Summary | |
---|---|
InputStream |
getInputStream()
Gets the input Stream associated with this event |
OutputHandler |
getOutputHandler()
The Output handler is a callback that will handle the writing to an output Stream when the Stream is available |
OutputStream |
getOutputStream()
Gets the output Stream associated with this event |
void |
release()
The release method is called by Mule to notify this adapter that it is no longer needed. |
void |
setOutputHandler(OutputHandler handler)
The Output handler is a callback that will handle the writing to an output Stream when the Stream is available |
void |
write(UMOEvent event)
Writes the event to the current outputStream using the OutputHandler set on the StreamAdapter. |
Method Detail |
---|
InputStream getInputStream()
OutputStream getOutputStream()
void write(UMOEvent event) throws IOException
event
- the event to write to the stream
IOException
OutputHandler getOutputHandler()
void setOutputHandler(OutputHandler handler)
handler
- the handler used to write to the streamvoid release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |