org.infinispan.server.websocket.handlers
Class GetHandler

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

public class GetHandler
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
GetHandler()
           
 
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

GetHandler

public GetHandler()
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

Google Analytics

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