org.mule.providers.tcp
Class TcpMessageReceiver.TcpStreamWorker
java.lang.Object
org.mule.providers.AbstractReceiverWorker
org.mule.providers.AbstractReceiverResourceWorker
org.mule.providers.tcp.TcpMessageReceiver.TcpWorker
org.mule.providers.tcp.TcpMessageReceiver.TcpStreamWorker
- All Implemented Interfaces:
- Disposable, Runnable, Work
- Enclosing class:
- TcpMessageReceiver
- protected class TcpMessageReceiver.TcpStreamWorker
- extends TcpMessageReceiver.TcpWorker
Method Summary |
protected Object |
getNextMessage(Object resource)
The method used to read the next message from the underlying transport. |
protected void |
handleResults(List messages)
When Mule has finished processing the current messages, there may be zero or more messages to process
by the receiver if request/response messaging is being used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpMessageReceiver.TcpStreamWorker
public TcpMessageReceiver.TcpStreamWorker(Socket socket,
TcpMessageReceiver receiver)
throws IOException
getNextMessage
protected Object getNextMessage(Object resource)
throws Exception
- Description copied from class:
AbstractReceiverResourceWorker
- The method used to read the next message from the underlying transport.
- Overrides:
getNextMessage
in class TcpMessageReceiver.TcpWorker
- Throws:
Exception
handleResults
protected void handleResults(List messages)
throws Exception
- Description copied from class:
AbstractReceiverWorker
- When Mule has finished processing the current messages, there may be zero or more messages to process
by the receiver if request/response messaging is being used. The result(s) should be passed back to the callee.
- Overrides:
handleResults
in class TcpMessageReceiver.TcpWorker
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.