public class StreamResource extends AbstractWebSocketResource
| Modifier and Type | Field and Description |
|---|---|
static String |
OP_publish |
static String |
OP_subscribe |
static String |
RESOURCE_NAME |
client, processor, wsHandler| Constructor and Description |
|---|
StreamResource(WebSocketProcessorClient client) |
| Modifier and Type | Method and Description |
|---|---|
WebSocketReply |
processRequest(WebSocketDecodeContext ctx,
WebSocketDecoder decoder)
Process a request and return a reply.
|
void |
quit()
Called when the web socket is closed
|
getChannel, switchProcessorpublic static final String RESOURCE_NAME
public static final String OP_subscribe
public static final String OP_publish
public StreamResource(WebSocketProcessorClient client)
public WebSocketReply processRequest(WebSocketDecodeContext ctx, WebSocketDecoder decoder) throws WebSocketException
AbstractWebSocketResourceprocessRequest in class AbstractWebSocketResourceWebSocketExceptionpublic void quit()
AbstractWebSocketResourcequit in class AbstractWebSocketResourceCopyright © 2018 Space Applications Services. All rights reserved.