public class EventSourceTopology extends Object implements EventAggregatorService, EventSourceRegistry
| Constructor and Description | 
|---|
| EventSourceTopology(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                   org.opendaylight.mdsal.binding.api.RpcProviderService providerService,
                   org.opendaylight.mdsal.binding.api.RpcConsumerRegistry rpcService) | 
| 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(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                           org.opendaylight.mdsal.binding.api.RpcProviderService providerService,
                           org.opendaylight.mdsal.binding.api.RpcConsumerRegistry rpcService)
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.