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.ConsumerSession
The close operation unregisters a consumer and remove all registered functionality of the consumer from the system.
close
in interface Broker.ConsumerSession
public <T extends BrokerService> T getService(Class<T> arg0)
Broker.ConsumerSession
getService
in interface Broker.ConsumerSession
arg0
- Broker servicepublic boolean isClosed()
isClosed
in interface Broker.ConsumerSession
Copyright © 2019 OpenDaylight. All rights reserved.