public interface Service<S extends Session> extends LifecycleAware
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession(S session)
Close the provided session
Closing the session includes: unregistering from all items, canceling all
running operations
|
NotifyFuture<S> |
createSession(Properties props,
Map<String,Object> contextInformation,
CallbackHandler callbackHandler)
Create a new session for further accessing the hive
|
start, stopNotifyFuture<S> createSession(Properties props, Map<String,Object> contextInformation, CallbackHandler callbackHandler)
props - properties used to create the sessioncontextInformation - additional context informationvoid closeSession(S session) throws InvalidSessionException
session - the session to closeInvalidSessionException - In the case the session is not a valid sessionCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.