| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> |
callback |
protected String |
encoding |
| Modifier | Constructor and Description |
|---|---|
protected |
SocketWorker(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doRun() |
protected void |
handle(InputStream content,
SocketAttributes attributes) |
abstract void |
onComplete(Object result) |
void |
onError(Consumer<Exception> handler) |
abstract void |
onError(Throwable e) |
void |
run() |
void |
setEncoding(String encoding) |
protected final org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback
protected String encoding
protected SocketWorker(org.mule.runtime.extension.api.runtime.source.SourceCallback<InputStream,SocketAttributes> callback)
public void setEncoding(String encoding)
protected void handle(InputStream content, SocketAttributes attributes)
public abstract void onComplete(Object result)
public abstract void onError(Throwable e)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.