org.apache.muse.ws.notification
Interface PullPointDataStore
- All Superinterfaces:
- Initialization, Shutdown
- All Known Implementing Classes:
- SimplePullPointDataStore
public interface PullPointDataStore
- extends Initialization, Shutdown
PullPointDataStore is an interface to a persistent data store that is used
by pullpoint resources to keep messages until they are retrieved using the
PullPoint.getMessages() method.
- Author:
- Dan Jemiolo (danj)
addMessage
void addMessage(NotificationMessage message)
throws BaseFault
- Throws:
BaseFault
getMessages
NotificationMessage[] getMessages(int maxNumber)
throws UnableToGetMessagesFault
- Parameters:
maxNumber
- The maximum number of messages that should be returned by the method.
- Returns:
- Zero or more messages (with a maximum specified by the parameter)
that have been stored by the pullpoint. Once the messages are
returned in this operation, they should not be included in
responses to future requests.
- Throws:
UnableToGetMessagesFault
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.