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
Providers.
| 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 © 2016 OpenDaylight. All rights reserved.