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()
Protocol
public Mpls.Header[] headers()
public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2016. All Rights Reserved.