Class IncomingEncodingFilter


  • public class IncomingEncodingFilter
    extends Filter
    Class that filters incoming commands related to encoding of ACL messages.
    Version:
    $Date$ $Revision$
    Author:
    Jerome Picault - Motorola Labs, Nicolas Lhuillier - Motorola Labs
    • Constructor Detail

    • Method Detail

      • accept

        public boolean accept​(VerticalCommand cmd)
        Receive a command object for processing.
        Overrides:
        accept in class Filter
        Parameters:
        cmd - A VerticalCommand describing what operation has been requested from previous layers (that can be the actual prime source of the command or previous filters in the chain).
        Returns:
        A boolean value, telling whether the filtered command has been accepted or not. A filter can veto a command by returning false from this method. A vetoed command is not propagated in the filter chain.
      • postProcess

        public void postProcess​(VerticalCommand cmd)
        Description copied from class: Filter
        Post-process a command object after it has been processed by the successive filters in the filter chain.
        Overrides:
        postProcess in class Filter
        Parameters:
        cmd - A VerticalCommand describing what operation has been requested from previous layers (that can be the actual prime source of the command or previous filters in the chain).