|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjist.swans.route.Link
public class Link
Contains a directed pair of Network addresses.
| Field Summary | |
|---|---|
NetAddress |
dst
link destination address. |
NetAddress |
src
link source address. |
| Constructor Summary | |
|---|---|
Link(NetAddress src,
NetAddress dst)
Create link. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
Link |
reverse()
Return link in reverse direction. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final NetAddress src
public final NetAddress dst
| Constructor Detail |
|---|
public Link(NetAddress src,
NetAddress dst)
src - link source addressdst - link destination address| Method Detail |
|---|
public Link reverse()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||