public final class UdpWorker extends SocketWorker
DatagramSocket bound
to a port choose by the system.callback, encoding| Constructor and Description |
|---|
UdpWorker(DatagramSocket socket,
DatagramPacket packet,
ObjectSerializer objectSerializer,
org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
doRun() |
void |
onComplete(Object result) |
void |
onError(Throwable e) |
handle, onError, run, setEncodingpublic UdpWorker(DatagramSocket socket, DatagramPacket packet, ObjectSerializer objectSerializer, org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback)
public void doRun()
doRun in class SocketWorkerpublic void onComplete(Object result)
onComplete in class SocketWorkerpublic void onError(Throwable e)
onError in class SocketWorkerpublic void dispose()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.