Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.muse.ws.notification
Interface NotificationMessageListener

All Known Subinterfaces:
  TopicListener

All Known Implementing Classes:
  SimplePullPoint

public interface NotificationMessageListener

NotificationMessageListener is an event listener that allows a consumer resource to filter incoming messages by topic. If a resource uses the NotificationConsumer capability, it can register listeners that will execute code whenever a new message is received that matches the criteria of the listener.

Author:
  Dan Jemiolo (danj)
See Also:
  `NotificationConsumer.addMessageListener(NotificationMessageListener)`

Method Summary
`boolean` | `accepts(NotificationMessage message)`
`void` | `process(NotificationMessage message)` This method is invoked ('fired') by the WS-N implementation whenever a message is received that matches the criteria (accepts()) of the listener.

Method Detail

### accepts

    public boolean accepts(NotificationMessage message)

  Parameters:
    `message` -
  Returns:
    True if the listener's process() method should be called in response to this message.

### process

    public void process(NotificationMessage message)
                 throws SoapFault

  This method is invoked ('fired') by the WS-N implementation whenever a message is received that matches the criteria (accepts()) of the listener.

  Parameters:
    `message` -
  Throws:
    `SoapFault`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD