public class OTPServer extends Object
Modifier and Type | Field and Description |
---|---|
File |
basePath
The directory under which graphs, caches, etc.
|
CommandLineParameters |
params |
PointSetCache |
pointSetCache |
ScriptingService |
scriptingService |
SurfaceCache |
surfaceCache |
Constructor and Description |
---|
OTPServer(CommandLineParameters params,
GraphService gs) |
Modifier and Type | Method and Description |
---|---|
GraphService |
getGraphService() |
Router |
getRouter(String routerId) |
Collection<String> |
getRouterIds() |
org.glassfish.hk2.utilities.binding.AbstractBinder |
makeBinder()
Return an HK2 Binder that injects this specific OTPServer instance into Jersey web resources.
|
public File basePath
public SurfaceCache surfaceCache
public PointSetCache pointSetCache
public ScriptingService scriptingService
public CommandLineParameters params
public OTPServer(CommandLineParameters params, GraphService gs)
public GraphService getGraphService()
public Collection<String> getRouterIds()
public Router getRouter(String routerId) throws GraphNotFoundException
GraphNotFoundException
public org.glassfish.hk2.utilities.binding.AbstractBinder makeBinder()
Copyright © 2018. All rights reserved.