public abstract class AbstractPullPoint extends AbstractEndpoint implements PullPoint, NotificationConsumer
| Modifier and Type | Field and Description |
|---|---|
protected AbstractCreatePullPoint |
createPullPoint |
address, endpoint, manager, name| Constructor and Description |
|---|
AbstractPullPoint(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(CreatePullPoint createPullPointRequest) |
protected java.lang.String |
createAddress() |
protected void |
destroy() |
DestroyPullPointResponse |
destroyPullPoint(DestroyPullPoint destroyPullPointRequest) |
AbstractCreatePullPoint |
getCreatePullPoint() |
GetMessagesResponse |
getMessages(GetMessages getMessagesRequest) |
protected abstract java.util.List<NotificationMessageHolderType> |
getMessages(int max) |
void |
notify(Notify notify) |
void |
setCreatePullPoint(AbstractCreatePullPoint createPullPoint) |
protected abstract void |
store(NotificationMessageHolderType messageHolder) |
getAddress, getManager, getName, register, setAddress, setManager, unregisterprotected AbstractCreatePullPoint createPullPoint
public void notify(Notify notify)
notify in interface NotificationConsumernotify in interface PullPointnotify - public GetMessagesResponse getMessages(GetMessages getMessagesRequest) throws ResourceUnknownFault, UnableToGetMessagesFault
getMessages in interface PullPointgetMessagesRequest - ResourceUnknownFaultUnableToGetMessagesFaultpublic DestroyPullPointResponse destroyPullPoint(DestroyPullPoint destroyPullPointRequest) throws ResourceUnknownFault, UnableToDestroyPullPointFault
destroyPullPoint in interface PullPointdestroyRequest - UnableToDestroyPullPointResourceUnknownFaultUnableToDestroyPullPointFaultpublic void create(CreatePullPoint createPullPointRequest) throws UnableToCreatePullPointFault
UnableToCreatePullPointFaultprotected abstract void store(NotificationMessageHolderType messageHolder)
protected abstract java.util.List<NotificationMessageHolderType> getMessages(int max) throws ResourceUnknownFault, UnableToGetMessagesFault
protected void destroy()
throws UnableToDestroyPullPointFault
UnableToDestroyPullPointFaultprotected java.lang.String createAddress()
createAddress in class AbstractEndpointpublic AbstractCreatePullPoint getCreatePullPoint()
public void setCreatePullPoint(AbstractCreatePullPoint createPullPoint)
Copyright © 2005-2015 FuseSource. All Rights Reserved.