public abstract class ForwardingConsumerSession extends Object implements Broker.ConsumerSession
| Constructor and Description |
|---|
ForwardingConsumerSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes a session between consumer and broker.
|
protected abstract Broker.ConsumerSession |
delegate() |
<T extends BrokerService> |
getService(Class<T> arg0)
Returns a session specific instance (implementation) of requested
service
|
boolean |
isClosed() |
protected abstract Broker.ConsumerSession delegate()
public void close()
Broker.ConsumerSessionThe close operation unregisters a consumer and remove all registered functionality of the consumer from the system.
close in interface Broker.ConsumerSessionpublic <T extends BrokerService> T getService(Class<T> arg0)
Broker.ConsumerSessiongetService in interface Broker.ConsumerSessionarg0 - Broker servicepublic boolean isClosed()
isClosed in interface Broker.ConsumerSessionCopyright © 2019 OpenDaylight. All rights reserved.