public class EventSourceTopology extends Object implements EventAggregatorService, EventSourceRegistry
| Constructor and Description |
|---|
EventSourceTopology(DataBroker dataBroker,
RpcProviderRegistry rpcRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTopicOutput>> |
createTopic(CreateTopicInput input)
Create a new topic.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DestroyTopicOutput>> |
destroyTopic(DestroyTopicInput input)
Destroy a topic.
|
void |
register(EventSource eventSource) |
<T extends EventSource> |
registerEventSource(T eventSource)
Registers the given EventSource for public consumption.
|
void |
unRegister(EventSource eventSource) |
public EventSourceTopology(DataBroker dataBroker, RpcProviderRegistry rpcRegistry)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTopicOutput>> createTopic(CreateTopicInput input)
EventAggregatorServicecreateTopic in interface EventAggregatorServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DestroyTopicOutput>> destroyTopic(DestroyTopicInput input)
EventAggregatorServicedestroyTopic in interface EventAggregatorServicepublic void close()
close in interface AutoCloseablepublic void register(EventSource eventSource)
public void unRegister(EventSource eventSource)
public <T extends EventSource> EventSourceRegistration<T> registerEventSource(T eventSource)
EventSourceRegistryEventSource.getSourceNodeKey().registerEventSource in interface EventSourceRegistryeventSource - the EventSource instance to registerEventSourceRegistration.close().Copyright © 2019 OpenDaylight. All rights reserved.