| Package | Description |
|---|---|
| org.scion.jpan |
| Modifier and Type | Class and Description |
|---|---|
class |
RequestPath
A RequestPath is a Path with additional meta information such as bandwidth, latency or geo
coordinates.
|
class |
ResponsePath
A ResponsePath is created/returned when receiving a packet.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
ResponsePath.copy(InetAddress dstIP,
int dstPort) |
abstract Path |
Path.copy(InetAddress dstIP,
int dstPort)
Create a copy of the Path with a new destination IP and port.
|
Path |
RequestPath.copy(InetAddress dstIP,
int dstPort) |
Path |
PathPolicy.filter(List<Path> paths) |
Path |
PathPolicy.First.filter(List<Path> paths) |
Path |
PathPolicy.MaxBandwith.filter(List<Path> paths) |
Path |
PathPolicy.MinLatency.filter(List<Path> paths) |
Path |
PathPolicy.MinHopCount.filter(List<Path> paths) |
Path |
PathPolicy.IsdAllow.filter(List<Path> paths) |
Path |
PathPolicy.IsdDisallow.filter(List<Path> paths) |
Path |
ScionDatagramSocket.getCachedPath(InetSocketAddress address)
The DatagramSocket caches paths from received packets.
|
Path |
ScionDatagramSocket.getConnectionPath()
Get the currently connected path.
|
Path |
ScionDatagramChannel.getMappedPath(InetSocketAddress address)
The channel maintains mappings from input address to output paths.
|
Path |
ScionDatagramChannel.getMappedPath(Path path)
The channel maintains mappings from input path to output paths.
|
Path |
ScionSocketAddress.getPath() |
Path |
Scmp.Message.getPath() |
Path |
ScionService.lookupAndGetPath(InetSocketAddress dstAddr,
PathPolicy policy)
Resolves the address to a SCION address, request paths, and selects a path using the policy.
|
Path |
ScionService.lookupAndGetPath(String hostName,
int port,
PathPolicy policy)
Resolves the address to a SCION address, request paths, and selects a path using the policy.
|
| Modifier and Type | Method and Description |
|---|---|
List<Path> |
ScionService.getPaths(long dstIsdAs,
InetAddress dstAddress,
int dstPort)
Request paths from the local ISD/AS to the destination.
|
List<Path> |
ScionService.getPaths(long dstIsdAs,
InetSocketAddress dstScionAddress)
Request paths from the local ISD/AS to the destination.
|
List<Path> |
ScionService.getPaths(Path path)
Request paths to the same destination as the provided path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScionDatagramSocket.connect(Path path)
Connect to a destination using a specific path.
|
static Scmp.EchoMessage |
Scmp.EchoMessage.createEmpty(Path path) |
static Scmp.TracerouteMessage |
Scmp.TracerouteMessage.createEmpty(Path path) |
static Scmp.ErrorMessage |
Scmp.ErrorMessage.createEmpty(Scmp.TypeCode typeCode,
Path path) |
static Scmp.TracerouteMessage |
Scmp.TracerouteMessage.createRequest(int sequenceNumber,
Path path) |
static Scmp.EchoMessage |
Scmp.EchoMessage.createRequest(int sequenceNumber,
Path path,
ByteBuffer payload) |
static ScionSocketAddress |
ScionSocketAddress.from(Path path,
long dstIsdAs,
InetAddress dstIP,
int dstPort) |
Path |
ScionDatagramChannel.getMappedPath(Path path)
The channel maintains mappings from input path to output paths.
|
List<Path> |
ScionService.getPaths(Path path)
Request paths to the same destination as the provided path.
|
int |
ScionDatagramChannel.send(ByteBuffer srcBuffer,
Path path)
Attempts to send the content of the buffer to the destinationAddress.
|
int |
ScmpSenderAsync.sendEcho(Path path,
ByteBuffer payload)
Sends a SCMP echo request along the specified path.
|
Scmp.EchoMessage |
ScmpSender.sendEchoRequest(Path path,
ByteBuffer data)
Sends a SCMP echo request to the connected destination.
|
List<Integer> |
ScmpSenderAsync.sendTraceroute(Path path)
Sends a SCMP traceroute request along the specified path.
|
int |
ScmpSenderAsync.sendTracerouteLast(Path path)
Sends a SCMP traceroute request along the specified path.
|
List<Scmp.TracerouteMessage> |
ScmpSender.sendTracerouteRequest(Path path)
Sends a SCMP traceroute request to the connected destination.
|
void |
Scmp.Message.setPath(Path path) |
| Modifier and Type | Method and Description |
|---|---|
Path |
PathPolicy.filter(List<Path> paths) |
Path |
PathPolicy.First.filter(List<Path> paths) |
Path |
PathPolicy.MaxBandwith.filter(List<Path> paths) |
Path |
PathPolicy.MinLatency.filter(List<Path> paths) |
Path |
PathPolicy.MinHopCount.filter(List<Path> paths) |
Path |
PathPolicy.IsdAllow.filter(List<Path> paths) |
Path |
PathPolicy.IsdDisallow.filter(List<Path> paths) |
| Constructor and Description |
|---|
Message(Scmp.TypeCode typeCode,
int identifier,
int sequenceNumber,
Path path)
DO NOT USE!
|
TracerouteMessage(Scmp.TypeCode typeCode,
int identifier,
int sequenceNumber,
long isdAs,
long ifID,
Path path) |
Copyright © 2024. All rights reserved.