public class Mpls extends Object implements Protocol
Mpls.Builder (mutable).
Includes support for the following OpenFlow match fields:
| Modifier and Type | Class and Description |
|---|---|
static class |
Mpls.Builder
Builder (mutable) used to create new protocol instances.
|
static class |
Mpls.Header
MPLS label switching header (immutable).
|
| Modifier and Type | Method and Description |
|---|---|
Mpls.Header[] |
headers()
Returns a copy of the headers array.
|
ProtocolId |
id()
Returns the protocol ID.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
public ProtocolId id()
Protocolpublic Mpls.Header[] headers()
public String toDebugString()
ProtocoltoDebugString in interface ProtocolCopyright © 2014. All Rights Reserved.