// Implementation methods
// -------------------------------------------------------------------------
protected void fireDemandChangeEvent(boolean inDemand) throws RemoteException, SubscribeCreationFailedFault,
ResourceUnknownFault, TopicPathDialectUnknownFault {
NotificationProducer producer = createPublisherNotificationProducer();
if (inDemand) {
producer.subscribe(publisherReference, topicConverter.toTopicExpression(topic), useNotify, precondition,
selector, subscriptionPolicy, terminationTime);
}
else {
// TODO how to unsubscribe?