public class Udp extends Object implements Protocol
Udp.Builder
(mutable).
Includes support for the following OpenFlow match fields:
Modifier and Type | Class and Description |
---|---|
static class |
Udp.Builder
Builder (mutable) used to create new protocol instances.
|
Modifier and Type | Method and Description |
---|---|
int |
checkSum()
Returns the decoded checksum value.
|
TcpUdpPort |
dstPort()
Returns the destination port.
|
ProtocolId |
id()
Returns the protocol ID.
|
int |
len()
Returns the decoded length field
|
TcpUdpPort |
srcPort()
Returns the source port.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
public ProtocolId id()
Protocol
public TcpUdpPort srcPort()
public TcpUdpPort dstPort()
public int len()
public int checkSum()
public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2015. All Rights Reserved.