org.infinispan.server.websocket.handlers
Class NotifyHandler

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

public class NotifyHandler
extends Object
implements OpHandler

Handler for the "notify" and "unnotify" operations.

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
NotifyHandler()
           
 
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

NotifyHandler

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