public class ScionBootstrapper extends Object
It currently supports: - DNS lookup NAPTR with A/AAAA and TXT for port information.
| Modifier | Constructor and Description |
|---|---|
protected |
ScionBootstrapper(Path file) |
protected |
ScionBootstrapper(String topologyServiceAddress) |
| Modifier and Type | Method and Description |
|---|---|
static ScionBootstrapper |
createViaBootstrapServerIP(String hostAndPort) |
static ScionBootstrapper |
createViaDns(String host)
Returns the default instance of the ScionService.
|
static ScionBootstrapper |
createViaTopoFile(Path file) |
String |
fetchFile(String resource) |
GlobalTopology |
getGlobalTopology() |
LocalTopology |
getLocalTopology() |
void |
refreshTopology() |
protected ScionBootstrapper(String topologyServiceAddress)
protected ScionBootstrapper(Path file)
public static ScionBootstrapper createViaDns(String host)
public static ScionBootstrapper createViaBootstrapServerIP(String hostAndPort)
public static ScionBootstrapper createViaTopoFile(Path file)
public LocalTopology getLocalTopology()
public GlobalTopology getGlobalTopology()
public void refreshTopology()
Copyright © 2024. All rights reserved.