match

fun Message<*, *>.match(function: FunctionInfo): Boolean

Checks if this message matches the given function for compensation purposes.

Return

true if the message matches the function, false otherwise

Parameters

function

The function to check against


Checks if this header's compensation information matches the given function.

For non-compensation messages, always returns true. For compensation messages, checks if the context, processor, and function names match.

Return

true if the header matches the function, false otherwise

Parameters

function

The function to match against