org.infinispan.server.websocket
Interface OpHandler
- All Known Implementing Classes:
- GetHandler, NotifyHandler, PutHandler, RemoveHandler
public interface OpHandler
Websocket cache operation handler.
- Author:
- tom.fennelly@gmail.com
Method Summary |
void |
handleOp(org.json.JSONObject opPayload,
Cache<Object,Object> cache,
org.jboss.netty.channel.ChannelHandlerContext ctx)
Handle a websocket channel operation. |
OP_CODE
static final String OP_CODE
- See Also:
- Constant Field Values
CACHE_NAME
static final String CACHE_NAME
- See Also:
- Constant Field Values
KEY
static final String KEY
- See Also:
- Constant Field Values
VALUE
static final String VALUE
- See Also:
- Constant Field Values
MIME
static final String MIME
- See Also:
- Constant Field Values
handleOp
void handleOp(org.json.JSONObject opPayload,
Cache<Object,Object> cache,
org.jboss.netty.channel.ChannelHandlerContext ctx)
throws org.json.JSONException
- Handle a websocket channel operation.
- Parameters:
opPayload
- Operation payload.cache
- The target cache.ctx
- The Netty websocket channel handler.
- Throws:
org.json.JSONException
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.