org.infinispan.server.websocket.handlers
Class PutHandler

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

public class PutHandler
extends Object
implements OpHandler

Cache "get" 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
PutHandler()
           
 
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

PutHandler

public PutHandler()
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.