org.atmosphere.cache
Interface BroadcasterCacheInspector


public interface BroadcasterCacheInspector

Inspect BroadcasterCache.Message before they gets added to the BroadcasterCache. Message can also be modified before they get added to the cache.

Author:
Jeanfrancois Arcand

Method Summary
 boolean inspect(BroadcasterCache.Message message)
          Inspect the BroadcasterCache.Message and return true if the message can be cached, false if not.
 

Method Detail

inspect

boolean inspect(BroadcasterCache.Message message)
Inspect the BroadcasterCache.Message and return true if the message can be cached, false if not. A Message can also be modified

Parameters:
message - BroadcasterCache.Message
Returns:
true if allowed to be cached, false if not.


Copyright © 2012. All Rights Reserved.