org.atmosphere.cache
Interface BroadcasterCacheInspector


public interface BroadcasterCacheInspector

Inspect BroadcastMessages before they get added to the BroadcasterCache. Messages can also be modified before they get added to the cache.

Author:
Jeanfrancois Arcand

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

Method Detail

inspect

boolean inspect(BroadcastMessage message)
Inspect the BroadcastMessage and return true if the message can be cached, false if not.

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


Copyright © 2014. All Rights Reserved.