MatchMessageHandler (Siena 2.0.4 API Documentation)
Date: 2015-05-17

siena.fwd

## Interface MatchMessageHandler

-     public interface MatchMessageHandler

  hook for the output function for matching interfaces. The matching function of the forwarding table doesn't actually produce any output. Instead, it delegates the processing of matching interfaces to a specialized match handler. This base class defines the interface of such a handler. Users of the forwarding table must implement this interface and pass it to the matching function.
  See Also:
    `MatchHandler`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `output(java.lang.Object ifx, Message n)` output function.

- - ### Method Detail

    - #### output

          boolean output(java.lang.Object ifx,
                       Message n)

      output function. This function is called within the `ForwardingTable.match(Message, MatchMessageHandler)` matching function\endlink of the forwarding table. This method is given the interface identifier of the matching interface and a reference to the matching message. This function may explicitly cause the matching function to terminate by returning true.

Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2011 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga