org.cometd
Interface DataFilter
public interface DataFilter
Data filters are used to transform data as it is sent to a Channel.
- Version:
- $Revision: 686 $ $Date: 2009-07-03 11:07:24 +0200 (Fri, 03 Jul 2009) $
filter
java.lang.Object filter(Client from,
Channel channel,
java.lang.Object data)
throws java.lang.IllegalStateException
- Parameters:
from - the Client that sends the datachannel - the channel the data is being sent todata - the data being sent
- Returns:
- the transformed data
- Throws:
java.lang.IllegalStateException - If the message should be aborted
Copyright © 2008-2010 Dojo Foundation. All Rights Reserved.