public class DumpappSocketLikeHandler extends java.lang.Object implements SocketLikeHandler
This handler accepts a list of text-based arguments to a FAB endpoint and responds with a stream as furnished by the Dumper implementation on the app side. A special "exit code" property is also returned that the dumpapp tool uses to pass along the exit code of the script.
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
PROTOCOL_MAGIC |
static int |
PROTOCOL_VERSION |
| Constructor and Description |
|---|
DumpappSocketLikeHandler(Dumper dumper) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAccepted(SocketLike socket) |
public static final byte[] PROTOCOL_MAGIC
public static final int PROTOCOL_VERSION
public DumpappSocketLikeHandler(Dumper dumper)
public void onAccepted(SocketLike socket) throws java.io.IOException
onAccepted in interface SocketLikeHandlerjava.io.IOExceptionSocketHandler.onAccepted(LocalSocket)