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(DaemonServiceGrpc.DaemonServiceBlockingStub daemonStub) |
protected |
ScionBootstrapper(Path file) |
protected |
ScionBootstrapper(String topologyServiceAddress) |
| Modifier and Type | Method and Description |
|---|---|
static ScionBootstrapper |
createViaBootstrapServerIP(String hostAndPort) |
static ScionBootstrapper |
createViaDaemon(DaemonServiceGrpc.DaemonServiceBlockingStub daemonStub) |
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)
protected ScionBootstrapper(DaemonServiceGrpc.DaemonServiceBlockingStub daemonStub)
public static ScionBootstrapper createViaDns(String host)
public static ScionBootstrapper createViaBootstrapServerIP(String hostAndPort)
public static ScionBootstrapper createViaTopoFile(Path file)
public static ScionBootstrapper createViaDaemon(DaemonServiceGrpc.DaemonServiceBlockingStub daemonStub)
public LocalTopology getLocalTopology()
public GlobalTopology getGlobalTopology()
public void refreshTopology()
Copyright © 2025. All rights reserved.