| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableSocketAttributes
Immutable implementation of
SocketAttributes. |
| Modifier and Type | Method and Description |
|---|---|
SocketAttributes |
SocketClient.getAttributes() |
SocketAttributes |
TcpClient.getAttributes() |
SocketAttributes |
UdpClient.getAttributes() |
| 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 | Method and Description |
|---|---|
void |
SocketListener.onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> sourceCallback) |
| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> |
SocketWorker.callback |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SocketWorker.handle(InputStream content,
SocketAttributes attributes) |
| Constructor and Description |
|---|
SocketWorker(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback) |
TcpWorker(Socket socket,
TcpProtocol protocol,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback) |
UdpWorker(DatagramSocket socket,
DatagramPacket packet,
ObjectSerializer objectSerializer,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback) |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.extension.api.runtime.operation.Result<InputStream,SocketAttributes> |
SocketUtils.createResult(InputStream content,
SocketAttributes attributes) |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.extension.api.runtime.operation.Result<InputStream,SocketAttributes> |
SocketUtils.createResult(InputStream content,
SocketAttributes attributes) |
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.