L - the type of the protocol specific location, typically a subclass of NodeLocationpublic abstract class Session<L> extends Object implements Closeable
Sessions are closeable and that all
resources they provide may eventually be valid only within the scope of the present session.| Constructor and Description |
|---|
Session(String feedId,
MonitoredEndpoint endpoint,
ResourceTypeManager<L> resourceTypeManager,
Driver<L> driver,
LocationResolver<L> locationResolver) |
| Modifier and Type | Method and Description |
|---|---|
Driver<L> |
getDriver() |
MonitoredEndpoint |
getEndpoint() |
String |
getFeedId() |
LocationResolver<L> |
getLocationResolver() |
ResourceTypeManager<L> |
getResourceTypeManager() |
public Session(String feedId, MonitoredEndpoint endpoint, ResourceTypeManager<L> resourceTypeManager, Driver<L> driver, LocationResolver<L> locationResolver)
public MonitoredEndpoint getEndpoint()
public String getFeedId()
public ResourceTypeManager<L> getResourceTypeManager()
public LocationResolver<L> getLocationResolver()
Copyright © 2015 Red Hat, Inc.. All rights reserved.