|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openflow.gui.net.protocol.Link
public class Link
Structure to specify a link.
| Field Summary | |
|---|---|
Node |
dstNode
destination node |
short |
dstPort
port number of the link is connected to on the destination switch |
LinkType |
linkType
type of the link |
static int |
SIZEOF
|
Node |
srcNode
source node |
short |
srcPort
port number on the source switch |
| Constructor Summary | |
|---|---|
Link(java.io.DataInput in)
|
|
Link(LinkType linkType,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
|
void |
write(java.io.DataOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZEOF
public final LinkType linkType
public final Node srcNode
public final short srcPort
public final Node dstNode
public final short dstPort
| Constructor Detail |
|---|
public Link(java.io.DataInput in)
throws java.io.IOException
java.io.IOException
public Link(LinkType linkType,
Node srcNode,
short srcPort,
Node dstNode,
short dstPort)
| Method Detail |
|---|
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||