Package | Description |
---|---|
com.hp.of.ctl |
Public API for the OpenFlow Controller.
|
com.hp.of.json |
JSON factory and codecs for Openflow structures.
|
com.hp.of.lib.dt |
A set of classes representing data values used in the OpenFlow protocol.
|
com.hp.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
com.hp.of.lib.match |
Representations of OpenFlow Protocol Match Structures.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.util.dcord.hazelcast |
Distributed Coordination Service implementation using Hazelcast as the underlying technoligy.
|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
com.hp.util.pkt |
Network packet parsing library.
|
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.
|
protected PortNumber |
DataPathInfoCodec.getPortNumber(com.fasterxml.jackson.databind.node.ObjectNode node,
String key)
Returns the property with the given key from the given object node,
interpreted as a TCP port number.
|
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 |
DataPathInfoAdapter.remotePort() |
PortNumber |
DataPathInfo.remotePort()
Returns the TCP port for the switch's "main" connection.
|
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 |
---|---|
PortNumber |
HazelcastConfiguration.getPort() |
Modifier and Type | Method and Description |
---|---|
static HazelcastConfiguration |
HazelcastConfiguration.forTcpIpDiscovery(PortNumber port,
Collection<Host> cluster)
Creates a connection configuration where TCP/IP is used to discover peers.
|
static HazelcastConfiguration |
HazelcastConfiguration.forTcpIpDiscovery(PortNumber port,
Host... cluster)
Creates a connection configuration where TCP/IP is used to discover peers.
|
void |
HazelcastConfiguration.setPort(PortNumber port)
Sets the port.
|
Modifier and Type | Method and Description |
---|---|
PortNumber |
Host.port()
Returns the port on which the host is listening.
|
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.
|
Constructor and Description |
---|
Host(IpAddress ipAddress,
PortNumber port)
Creates a host.
|
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 © 2015. All Rights Reserved.