blob: d9b89501f96199b5a33ca889057d9173644e09ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* $Id$ */
package org.noreply.fancydress.type3;
import org.noreply.fancydress.crypto.*;
import org.noreply.fancydress.status.*;
import org.noreply.fancydress.directory.*;
import org.noreply.fancydress.misc.Util;
import org.noreply.fancydress.type3.routing.*;
import java.net.InetAddress;
public class Path {
HalfPath first;
HalfPath second;
public Path(Hop[] leg1, Hop[] leg2) {
first = new HalfPath(leg1);
second = new HalfPath(leg2);
}
public HalfPath getFirstHalf() {
return first;
}
public HalfPath getSecondHalf() {
return second;
}
public String asString() {
return (first.asString() + ":" + second.asString());
}
}
|