| Package | Description |
|---|---|
| com.h3c.of.ctl |
Public API for the OpenFlow Controller.
|
| com.h3c.of.json |
JSON factory and codecs for Openflow structures.
|
| com.h3c.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
| com.h3c.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
| com.h3c.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
| com.h3c.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
| com.h3c.util.ip | |
| com.h3c.util.pkt |
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
ConnectionDetails.remotePort()
Returns the TCP port (on this connection).
|
| Modifier and Type | Method and Description |
|---|---|
static PortNumber |
CodecUtils.decodePort(com.fasterxml.jackson.databind.JsonNode value)
Converts JsonNode into PortNumber object.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
CodecUtils.encodePort(PortNumber port)
Converts PortNumber into int that can be used as a JSON value.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
DataPathInfo.remotePort()
Returns the TCP port for the switch's "main" connection.
|
PortNumber |
DataPathInfoAdapter.remotePort() |
| Modifier and Type | Method and Description |
|---|---|
static Action |
ActionFactory.createActionSetField(ProtocolVersion pv,
OxmBasicFieldType ft,
PortNumber port)
Creates a set-field action for a port-number-based match field,
using the given protocol version.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
MFieldBasicPort.getPort()
Returns the port number.
|
| Modifier and Type | Method and Description |
|---|---|
static MFieldBasic |
FieldFactory.createBasicField(ProtocolVersion pv,
OxmBasicFieldType ft,
PortNumber port)
Creates a basic match field for a port-number-based match field.
|
| Modifier and Type | Method and Description |
|---|---|
static PortNumber |
Port.equivalentSpecial(BigPortNumber bpn)
Returns the 1.0 "special" port number (u16) equivalent to the
given 1.3 "special" big port number (u32).
|
static PortNumber |
Port.getPortNumber(String portNumber)
Returns the port, given its string representation, which can include a
logical name or the numeric representation of the port.
|
| Modifier and Type | Method and Description |
|---|---|
static BigPortNumber |
Port.equivalentSpecial(PortNumber pn)
Returns the 1.3 "special" big port number (u32) equivalent to the
given 1.0 "special" port number (u16).
|
static String |
Port.portNumberToString(PortNumber port)
Returns a string representation of the port number.
|
| Modifier and Type | Method and Description |
|---|---|
static PortNumber |
PortNumber.valueOf(byte[] bytes)
Returns an object that represents the port number
defined by the specified byte array.
|
static PortNumber |
PortNumber.valueOf(int port)
Returns an object that represents the port number
defined by the specified integer.
|
static PortNumber |
PortNumber.valueOf(String portStr)
Returns an object that represents the port number
defined by the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
int |
PortNumber.compareTo(PortNumber o)
Implements the Comparable interface, to return port numbers in
natural order.
|
| Modifier and Type | Method and Description |
|---|---|
PortNumber |
PacketReader.readPortNumber()
Reads a (u16) port number from the buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PacketWriter.write(PortNumber pn)
Writes a (u16) port number to the buffer.
|
Copyright © 2014. All Rights Reserved.