org.infinispan.server.websocket.handlers
Class RemoveHandler

java.lang.Object
  extended by org.infinispan.server.websocket.handlers.RemoveHandler
All Implemented Interfaces:
OpHandler

public class RemoveHandler
extends Object
implements OpHandler

Cache "remove" operation handler.

Author:
tom.fennelly@gmail.com

Field Summary
 
Fields inherited from interface org.infinispan.server.websocket.OpHandler
CACHE_NAME, KEY, MIME, OP_CODE, VALUE
 
Constructor Summary
RemoveHandler()
           
 
Method Summary
 void handleOp(org.json.JSONObject opPayload, Cache<Object,Object> cache, org.jboss.netty.channel.ChannelHandlerContext ctx)
          Handle a websocket channel operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveHandler

public RemoveHandler()
Method Detail

handleOp

public void handleOp(org.json.JSONObject opPayload,
                     Cache<Object,Object> cache,
                     org.jboss.netty.channel.ChannelHandlerContext ctx)
              throws org.json.JSONException
Description copied from interface: OpHandler
Handle a websocket channel operation.

Specified by:
handleOp in interface OpHandler
Parameters:
opPayload - Operation payload.
cache - The target cache.
ctx - The Netty websocket channel handler.
Throws:
org.json.JSONException

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.