public static interface Broker.ConsumerSession
Consumer
specific access to the SAL functionality.
ConsumerSession is Consumer
-specific access to the SAL
functionality and infrastructure services.
The session serves to store SAL context (e.g. registration of
functionality) for the consumer and provides access to the SAL
infrastructure services and other functionality provided by
Provider
s.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes a session between consumer and broker.
|
<T extends BrokerService> |
getService(Class<T> service)
Returns a session specific instance (implementation) of requested
service
|
boolean |
isClosed() |
boolean isClosed()
<T extends BrokerService> T getService(Class<T> service)
service
- Broker servicevoid close()
The close operation unregisters a consumer and remove all registered functionality of the consumer from the system.
Copyright © 2019 OpenDaylight. All rights reserved.