| Modifier and Type | Method and Description |
|---|---|
SocketWorker |
ListenerConnection.listen(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> sourceCallback)
This method blocks until a new connection is received or timeout exception is thrown.
|
| Modifier and Type | Method and Description |
|---|---|
SocketWorker |
TcpListenerConnection.listen(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback)
One worker is created per accepted connection.
|
| Modifier and Type | Method and Description |
|---|---|
SocketWorker |
UdpListenerConnection.listen(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> sourceCallback)
One worker is created per received package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TcpWorker
Only one worker will be created per each new TCP connection accepted by the
TcpListenerConnection.listen(SourceCallback), This class is responsible for reading from that connection
is closed by the sender, or Source is stopped. |
class |
UdpWorker
One worker is created per received package.
|
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.