Package org.onosproject.net.flow
Class DefaultTrafficSelector.Builder
- java.lang.Object
-
- org.onosproject.net.flow.DefaultTrafficSelector.Builder
-
- All Implemented Interfaces:
TrafficSelector.Builder
- Enclosing class:
- DefaultTrafficSelector
public static final class DefaultTrafficSelector.Builder extends java.lang.Object implements TrafficSelector.Builder
Builder of traffic selector entities.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultTrafficSelector.Builderadd(Criterion criterion)Adds a traffic selection criterion.TrafficSelectorbuild()Builds an immutable traffic selector.TrafficSelector.Builderextension(ExtensionSelector extensionSelector, DeviceId deviceId)Uses an extension selector.DefaultTrafficSelector.BuildermatchArpOp(int arpOp)Matches a arp operation type.DefaultTrafficSelector.BuildermatchArpSha(MacAddress addr)Matches a arp_eth_src address.DefaultTrafficSelector.BuildermatchArpSpa(Ip4Address addr)Matches a arp IPv4 source address.DefaultTrafficSelector.BuildermatchArpTha(MacAddress addr)Matches a arp_eth_dst address.DefaultTrafficSelector.BuildermatchArpTpa(Ip4Address addr)Matches a arp IPv4 destination address.DefaultTrafficSelector.BuildermatchEthDst(MacAddress addr)Matches a l2 dst address.DefaultTrafficSelector.BuildermatchEthDstMasked(MacAddress addr, MacAddress mask)Matches a l2 dst address with mask.DefaultTrafficSelector.BuildermatchEthSrc(MacAddress addr)Matches a l2 src address.DefaultTrafficSelector.BuildermatchEthSrcMasked(MacAddress addr, MacAddress mask)Matches a l2 src address with mask.DefaultTrafficSelector.BuildermatchEthType(short ethType)Matches the ethernet type.DefaultTrafficSelector.BuildermatchIcmpCode(byte icmpCode)Matches an ICMP code.DefaultTrafficSelector.BuildermatchIcmpType(byte icmpType)Matches an ICMP type.DefaultTrafficSelector.BuildermatchIcmpv6Code(byte icmpv6Code)Matches an ICMPv6 code.DefaultTrafficSelector.BuildermatchIcmpv6Type(byte icmpv6Type)Matches an ICMPv6 type.DefaultTrafficSelector.BuildermatchInnerVlanId(VlanId vlanId)Matches the inner vlan id.DefaultTrafficSelector.BuildermatchInnerVlanPcp(byte vlanPcp)Matches a vlan priority.DefaultTrafficSelector.BuildermatchInPhyPort(PortNumber port)Matches a physical inport.DefaultTrafficSelector.BuildermatchInPort(PortNumber port)Matches an inport.DefaultTrafficSelector.BuildermatchIPDscp(byte ipDscp)Matches an IP DSCP (6 bits in ToS field).DefaultTrafficSelector.BuildermatchIPDst(IpPrefix ip)Matches a l3 IPv4 address.DefaultTrafficSelector.BuildermatchIPEcn(byte ipEcn)Matches an IP ECN (2 bits in ToS field).DefaultTrafficSelector.BuildermatchIPProtocol(byte proto)Matches the l3 protocol.DefaultTrafficSelector.BuildermatchIPSrc(IpPrefix ip)Matches a l3 IPv4 address.DefaultTrafficSelector.BuildermatchIPv6Dst(IpPrefix ip)Matches a l3 IPv6 address.DefaultTrafficSelector.BuildermatchIPv6ExthdrFlags(short exthdrFlags)Matches on IPv6 Extension Header pseudo-field flags.DefaultTrafficSelector.BuildermatchIPv6FlowLabel(int flowLabel)Matches an IPv6 flow label.DefaultTrafficSelector.BuildermatchIPv6NDSourceLinkLayerAddress(MacAddress mac)Matches an IPv6 Neighbor Discovery source link-layer address.DefaultTrafficSelector.BuildermatchIPv6NDTargetAddress(Ip6Address targetAddress)Matches an IPv6 Neighbor Discovery target address.DefaultTrafficSelector.BuildermatchIPv6NDTargetLinkLayerAddress(MacAddress mac)Matches an IPv6 Neighbor Discovery target link-layer address.DefaultTrafficSelector.BuildermatchIPv6Src(IpPrefix ip)Matches a l3 IPv6 address.DefaultTrafficSelector.BuildermatchMetadata(long metadata)Matches a metadata.DefaultTrafficSelector.BuildermatchMplsBos(boolean mplsBos)Matches on a MPLS Bottom-of-Stack indicator bit.DefaultTrafficSelector.BuildermatchMplsLabel(MplsLabel mplsLabel)Matches on a MPLS label.DefaultTrafficSelector.BuildermatchPi(PiCriterion piCriterion)Matches protocol independent fields.DefaultTrafficSelector.BuildermatchSctpDst(TpPort sctpPort)Matches a SCTP destination port number.TrafficSelector.BuildermatchSctpDstMasked(TpPort sctpPort, TpPort mask)Matches a SCTP destination port number with mask.DefaultTrafficSelector.BuildermatchSctpSrc(TpPort sctpPort)Matches a SCTP source port number.TrafficSelector.BuildermatchSctpSrcMasked(TpPort sctpPort, TpPort mask)Matches a SCTP source port number with mask.DefaultTrafficSelector.BuildermatchTcpDst(TpPort tcpPort)Matches a TCP destination port number.TrafficSelector.BuildermatchTcpDstMasked(TpPort tcpPort, TpPort mask)Matches a TCP destination port number with mask.DefaultTrafficSelector.BuildermatchTcpSrc(TpPort tcpPort)Matches a TCP source port number.TrafficSelector.BuildermatchTcpSrcMasked(TpPort tcpPort, TpPort mask)Matches a TCP source port number with mask.TrafficSelector.BuildermatchTunnelId(long tunnelId)Matches a tunnel id.DefaultTrafficSelector.BuildermatchUdpDst(TpPort udpPort)Matches an UDP destination port number.TrafficSelector.BuildermatchUdpDstMasked(TpPort udpPort, TpPort mask)Matches a UDP destination port number with mask.DefaultTrafficSelector.BuildermatchUdpSrc(TpPort udpPort)Matches an UDP source port number.TrafficSelector.BuildermatchUdpSrcMasked(TpPort udpPort, TpPort mask)Matches a UDP source port number with mask.DefaultTrafficSelector.BuildermatchVlanId(VlanId vlanId)Matches the vlan id.DefaultTrafficSelector.BuildermatchVlanPcp(byte vlanPcp)Matches a vlan priority.
-
-
-
Method Detail
-
add
public DefaultTrafficSelector.Builder add(Criterion criterion)
Description copied from interface:TrafficSelector.BuilderAdds a traffic selection criterion. If a same type criterion has already been added, it will be replaced by this one.- Specified by:
addin interfaceTrafficSelector.Builder- Parameters:
criterion- new criterion- Returns:
- self
-
matchInPort
public DefaultTrafficSelector.Builder matchInPort(PortNumber port)
Description copied from interface:TrafficSelector.BuilderMatches an inport.- Specified by:
matchInPortin interfaceTrafficSelector.Builder- Parameters:
port- the inport- Returns:
- a selection builder
-
matchInPhyPort
public DefaultTrafficSelector.Builder matchInPhyPort(PortNumber port)
Description copied from interface:TrafficSelector.BuilderMatches a physical inport.- Specified by:
matchInPhyPortin interfaceTrafficSelector.Builder- Parameters:
port- the physical inport- Returns:
- a selection builder
-
matchMetadata
public DefaultTrafficSelector.Builder matchMetadata(long metadata)
Description copied from interface:TrafficSelector.BuilderMatches a metadata.- Specified by:
matchMetadatain interfaceTrafficSelector.Builder- Parameters:
metadata- the metadata- Returns:
- a selection builder
-
matchEthDst
public DefaultTrafficSelector.Builder matchEthDst(MacAddress addr)
Description copied from interface:TrafficSelector.BuilderMatches a l2 dst address.- Specified by:
matchEthDstin interfaceTrafficSelector.Builder- Parameters:
addr- a l2 address- Returns:
- a selection builder
-
matchEthDstMasked
public DefaultTrafficSelector.Builder matchEthDstMasked(MacAddress addr, MacAddress mask)
Description copied from interface:TrafficSelector.BuilderMatches a l2 dst address with mask.- Specified by:
matchEthDstMaskedin interfaceTrafficSelector.Builder- Parameters:
addr- a l2 addressmask- a mask for an l2 address- Returns:
- a selection builder
-
matchEthSrc
public DefaultTrafficSelector.Builder matchEthSrc(MacAddress addr)
Description copied from interface:TrafficSelector.BuilderMatches a l2 src address.- Specified by:
matchEthSrcin interfaceTrafficSelector.Builder- Parameters:
addr- a l2 address- Returns:
- a selection builder
-
matchEthSrcMasked
public DefaultTrafficSelector.Builder matchEthSrcMasked(MacAddress addr, MacAddress mask)
Description copied from interface:TrafficSelector.BuilderMatches a l2 src address with mask.- Specified by:
matchEthSrcMaskedin interfaceTrafficSelector.Builder- Parameters:
addr- a l2 addressmask- a mask for an l2 address- Returns:
- a selection builder
-
matchEthType
public DefaultTrafficSelector.Builder matchEthType(short ethType)
Description copied from interface:TrafficSelector.BuilderMatches the ethernet type.- Specified by:
matchEthTypein interfaceTrafficSelector.Builder- Parameters:
ethType- an ethernet type- Returns:
- a selection builder
-
matchVlanId
public DefaultTrafficSelector.Builder matchVlanId(VlanId vlanId)
Description copied from interface:TrafficSelector.BuilderMatches the vlan id.- Specified by:
matchVlanIdin interfaceTrafficSelector.Builder- Parameters:
vlanId- a vlan id- Returns:
- a selection builder
-
matchVlanPcp
public DefaultTrafficSelector.Builder matchVlanPcp(byte vlanPcp)
Description copied from interface:TrafficSelector.BuilderMatches a vlan priority.- Specified by:
matchVlanPcpin interfaceTrafficSelector.Builder- Parameters:
vlanPcp- a vlan priority- Returns:
- a selection builder
-
matchInnerVlanId
public DefaultTrafficSelector.Builder matchInnerVlanId(VlanId vlanId)
Description copied from interface:TrafficSelector.BuilderMatches the inner vlan id.- Specified by:
matchInnerVlanIdin interfaceTrafficSelector.Builder- Parameters:
vlanId- a vlan id- Returns:
- a selection builder
-
matchInnerVlanPcp
public DefaultTrafficSelector.Builder matchInnerVlanPcp(byte vlanPcp)
Description copied from interface:TrafficSelector.BuilderMatches a vlan priority.- Specified by:
matchInnerVlanPcpin interfaceTrafficSelector.Builder- Parameters:
vlanPcp- a vlan priority- Returns:
- a selection builder
-
matchIPDscp
public DefaultTrafficSelector.Builder matchIPDscp(byte ipDscp)
Description copied from interface:TrafficSelector.BuilderMatches an IP DSCP (6 bits in ToS field).- Specified by:
matchIPDscpin interfaceTrafficSelector.Builder- Parameters:
ipDscp- an IP DSCP value- Returns:
- a selection builder
-
matchIPEcn
public DefaultTrafficSelector.Builder matchIPEcn(byte ipEcn)
Description copied from interface:TrafficSelector.BuilderMatches an IP ECN (2 bits in ToS field).- Specified by:
matchIPEcnin interfaceTrafficSelector.Builder- Parameters:
ipEcn- an IP ECN value- Returns:
- a selection builder
-
matchIPProtocol
public DefaultTrafficSelector.Builder matchIPProtocol(byte proto)
Description copied from interface:TrafficSelector.BuilderMatches the l3 protocol.- Specified by:
matchIPProtocolin interfaceTrafficSelector.Builder- Parameters:
proto- a l3 protocol- Returns:
- a selection builder
-
matchIPSrc
public DefaultTrafficSelector.Builder matchIPSrc(IpPrefix ip)
Description copied from interface:TrafficSelector.BuilderMatches a l3 IPv4 address.- Specified by:
matchIPSrcin interfaceTrafficSelector.Builder- Parameters:
ip- a l3 address- Returns:
- a selection builder
-
matchIPDst
public DefaultTrafficSelector.Builder matchIPDst(IpPrefix ip)
Description copied from interface:TrafficSelector.BuilderMatches a l3 IPv4 address.- Specified by:
matchIPDstin interfaceTrafficSelector.Builder- Parameters:
ip- a l3 address- Returns:
- a selection builder
-
matchTcpSrc
public DefaultTrafficSelector.Builder matchTcpSrc(TpPort tcpPort)
Description copied from interface:TrafficSelector.BuilderMatches a TCP source port number.- Specified by:
matchTcpSrcin interfaceTrafficSelector.Builder- Parameters:
tcpPort- a TCP source port number- Returns:
- a selection builder
-
matchTcpSrcMasked
public TrafficSelector.Builder matchTcpSrcMasked(TpPort tcpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a TCP source port number with mask.- Specified by:
matchTcpSrcMaskedin interfaceTrafficSelector.Builder- Parameters:
tcpPort- a TCP source port numbermask- a mask for a TCP source port number- Returns:
- a selection builder
-
matchTcpDst
public DefaultTrafficSelector.Builder matchTcpDst(TpPort tcpPort)
Description copied from interface:TrafficSelector.BuilderMatches a TCP destination port number.- Specified by:
matchTcpDstin interfaceTrafficSelector.Builder- Parameters:
tcpPort- a TCP destination port number- Returns:
- a selection builder
-
matchTcpDstMasked
public TrafficSelector.Builder matchTcpDstMasked(TpPort tcpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a TCP destination port number with mask.- Specified by:
matchTcpDstMaskedin interfaceTrafficSelector.Builder- Parameters:
tcpPort- a TCP destination port numbermask- a mask for a TCP destination port number- Returns:
- a selection builder
-
matchUdpSrc
public DefaultTrafficSelector.Builder matchUdpSrc(TpPort udpPort)
Description copied from interface:TrafficSelector.BuilderMatches an UDP source port number.- Specified by:
matchUdpSrcin interfaceTrafficSelector.Builder- Parameters:
udpPort- an UDP source port number- Returns:
- a selection builder
-
matchUdpSrcMasked
public TrafficSelector.Builder matchUdpSrcMasked(TpPort udpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a UDP source port number with mask.- Specified by:
matchUdpSrcMaskedin interfaceTrafficSelector.Builder- Parameters:
udpPort- a UDP source port numbermask- a mask for a UDP source port number- Returns:
- a selection builder
-
matchUdpDst
public DefaultTrafficSelector.Builder matchUdpDst(TpPort udpPort)
Description copied from interface:TrafficSelector.BuilderMatches an UDP destination port number.- Specified by:
matchUdpDstin interfaceTrafficSelector.Builder- Parameters:
udpPort- an UDP destination port number- Returns:
- a selection builder
-
matchUdpDstMasked
public TrafficSelector.Builder matchUdpDstMasked(TpPort udpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a UDP destination port number with mask.- Specified by:
matchUdpDstMaskedin interfaceTrafficSelector.Builder- Parameters:
udpPort- a UDP destination port numbermask- a mask for a UDP destination port number- Returns:
- a selection builder
-
matchSctpSrc
public DefaultTrafficSelector.Builder matchSctpSrc(TpPort sctpPort)
Description copied from interface:TrafficSelector.BuilderMatches a SCTP source port number.- Specified by:
matchSctpSrcin interfaceTrafficSelector.Builder- Parameters:
sctpPort- a SCTP source port number- Returns:
- a selection builder
-
matchSctpSrcMasked
public TrafficSelector.Builder matchSctpSrcMasked(TpPort sctpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a SCTP source port number with mask.- Specified by:
matchSctpSrcMaskedin interfaceTrafficSelector.Builder- Parameters:
sctpPort- a SCTP source port numbermask- a mask for a SCTP source port number- Returns:
- a selection builder
-
matchSctpDst
public DefaultTrafficSelector.Builder matchSctpDst(TpPort sctpPort)
Description copied from interface:TrafficSelector.BuilderMatches a SCTP destination port number.- Specified by:
matchSctpDstin interfaceTrafficSelector.Builder- Parameters:
sctpPort- a SCTP destination port number- Returns:
- a selection builder
-
matchSctpDstMasked
public TrafficSelector.Builder matchSctpDstMasked(TpPort sctpPort, TpPort mask)
Description copied from interface:TrafficSelector.BuilderMatches a SCTP destination port number with mask.- Specified by:
matchSctpDstMaskedin interfaceTrafficSelector.Builder- Parameters:
sctpPort- a SCTP destination port numbermask- a mask for a SCTP destination port number- Returns:
- a selection builder
-
matchIcmpType
public DefaultTrafficSelector.Builder matchIcmpType(byte icmpType)
Description copied from interface:TrafficSelector.BuilderMatches an ICMP type.- Specified by:
matchIcmpTypein interfaceTrafficSelector.Builder- Parameters:
icmpType- an ICMP type- Returns:
- a selection builder
-
matchIcmpCode
public DefaultTrafficSelector.Builder matchIcmpCode(byte icmpCode)
Description copied from interface:TrafficSelector.BuilderMatches an ICMP code.- Specified by:
matchIcmpCodein interfaceTrafficSelector.Builder- Parameters:
icmpCode- an ICMP code- Returns:
- a selection builder
-
matchIPv6Src
public DefaultTrafficSelector.Builder matchIPv6Src(IpPrefix ip)
Description copied from interface:TrafficSelector.BuilderMatches a l3 IPv6 address.- Specified by:
matchIPv6Srcin interfaceTrafficSelector.Builder- Parameters:
ip- a l3 IPv6 address- Returns:
- a selection builder
-
matchIPv6Dst
public DefaultTrafficSelector.Builder matchIPv6Dst(IpPrefix ip)
Description copied from interface:TrafficSelector.BuilderMatches a l3 IPv6 address.- Specified by:
matchIPv6Dstin interfaceTrafficSelector.Builder- Parameters:
ip- a l3 IPv6 address- Returns:
- a selection builder
-
matchIPv6FlowLabel
public DefaultTrafficSelector.Builder matchIPv6FlowLabel(int flowLabel)
Description copied from interface:TrafficSelector.BuilderMatches an IPv6 flow label.- Specified by:
matchIPv6FlowLabelin interfaceTrafficSelector.Builder- Parameters:
flowLabel- an IPv6 flow label- Returns:
- a selection builder
-
matchIcmpv6Type
public DefaultTrafficSelector.Builder matchIcmpv6Type(byte icmpv6Type)
Description copied from interface:TrafficSelector.BuilderMatches an ICMPv6 type.- Specified by:
matchIcmpv6Typein interfaceTrafficSelector.Builder- Parameters:
icmpv6Type- an ICMPv6 type- Returns:
- a selection builder
-
matchIcmpv6Code
public DefaultTrafficSelector.Builder matchIcmpv6Code(byte icmpv6Code)
Description copied from interface:TrafficSelector.BuilderMatches an ICMPv6 code.- Specified by:
matchIcmpv6Codein interfaceTrafficSelector.Builder- Parameters:
icmpv6Code- an ICMPv6 code- Returns:
- a selection builder
-
matchIPv6NDTargetAddress
public DefaultTrafficSelector.Builder matchIPv6NDTargetAddress(Ip6Address targetAddress)
Description copied from interface:TrafficSelector.BuilderMatches an IPv6 Neighbor Discovery target address.- Specified by:
matchIPv6NDTargetAddressin interfaceTrafficSelector.Builder- Parameters:
targetAddress- an IPv6 Neighbor Discovery target address- Returns:
- a selection builder
-
matchIPv6NDSourceLinkLayerAddress
public DefaultTrafficSelector.Builder matchIPv6NDSourceLinkLayerAddress(MacAddress mac)
Description copied from interface:TrafficSelector.BuilderMatches an IPv6 Neighbor Discovery source link-layer address.- Specified by:
matchIPv6NDSourceLinkLayerAddressin interfaceTrafficSelector.Builder- Parameters:
mac- an IPv6 Neighbor Discovery source link-layer address- Returns:
- a selection builder
-
matchIPv6NDTargetLinkLayerAddress
public DefaultTrafficSelector.Builder matchIPv6NDTargetLinkLayerAddress(MacAddress mac)
Description copied from interface:TrafficSelector.BuilderMatches an IPv6 Neighbor Discovery target link-layer address.- Specified by:
matchIPv6NDTargetLinkLayerAddressin interfaceTrafficSelector.Builder- Parameters:
mac- an IPv6 Neighbor Discovery target link-layer address- Returns:
- a selection builder
-
matchMplsLabel
public DefaultTrafficSelector.Builder matchMplsLabel(MplsLabel mplsLabel)
Description copied from interface:TrafficSelector.BuilderMatches on a MPLS label.- Specified by:
matchMplsLabelin interfaceTrafficSelector.Builder- Parameters:
mplsLabel- a MPLS label.- Returns:
- a selection builder
-
matchMplsBos
public DefaultTrafficSelector.Builder matchMplsBos(boolean mplsBos)
Description copied from interface:TrafficSelector.BuilderMatches on a MPLS Bottom-of-Stack indicator bit.- Specified by:
matchMplsBosin interfaceTrafficSelector.Builder- Parameters:
mplsBos- boolean value indicating BOS=1 (true) or BOS=0 (false).- Returns:
- a selection builder
-
matchTunnelId
public TrafficSelector.Builder matchTunnelId(long tunnelId)
Description copied from interface:TrafficSelector.BuilderMatches a tunnel id.- Specified by:
matchTunnelIdin interfaceTrafficSelector.Builder- Parameters:
tunnelId- a tunnel id- Returns:
- a selection builder
-
matchIPv6ExthdrFlags
public DefaultTrafficSelector.Builder matchIPv6ExthdrFlags(short exthdrFlags)
Description copied from interface:TrafficSelector.BuilderMatches on IPv6 Extension Header pseudo-field flags.- Specified by:
matchIPv6ExthdrFlagsin interfaceTrafficSelector.Builder- Parameters:
exthdrFlags- the IPv6 Extension Header pseudo-field flags- Returns:
- a selection builder
-
matchArpTpa
public DefaultTrafficSelector.Builder matchArpTpa(Ip4Address addr)
Description copied from interface:TrafficSelector.BuilderMatches a arp IPv4 destination address.- Specified by:
matchArpTpain interfaceTrafficSelector.Builder- Parameters:
addr- a arp IPv4 destination address- Returns:
- a selection builder
-
matchArpSpa
public DefaultTrafficSelector.Builder matchArpSpa(Ip4Address addr)
Description copied from interface:TrafficSelector.BuilderMatches a arp IPv4 source address.- Specified by:
matchArpSpain interfaceTrafficSelector.Builder- Parameters:
addr- a arp IPv4 source address- Returns:
- a selection builder
-
matchArpTha
public DefaultTrafficSelector.Builder matchArpTha(MacAddress addr)
Description copied from interface:TrafficSelector.BuilderMatches a arp_eth_dst address.- Specified by:
matchArpThain interfaceTrafficSelector.Builder- Parameters:
addr- a arp_eth_dst address- Returns:
- a selection builder
-
matchArpSha
public DefaultTrafficSelector.Builder matchArpSha(MacAddress addr)
Description copied from interface:TrafficSelector.BuilderMatches a arp_eth_src address.- Specified by:
matchArpShain interfaceTrafficSelector.Builder- Parameters:
addr- a arp_eth_src address- Returns:
- a selection builder
-
matchArpOp
public DefaultTrafficSelector.Builder matchArpOp(int arpOp)
Description copied from interface:TrafficSelector.BuilderMatches a arp operation type.- Specified by:
matchArpOpin interfaceTrafficSelector.Builder- Parameters:
arpOp- a arp operation type- Returns:
- a selection builder
-
matchPi
public DefaultTrafficSelector.Builder matchPi(PiCriterion piCriterion)
Description copied from interface:TrafficSelector.BuilderMatches protocol independent fields.- Specified by:
matchPiin interfaceTrafficSelector.Builder- Parameters:
piCriterion- protocol-independent criterion- Returns:
- a selection builder
-
extension
public TrafficSelector.Builder extension(ExtensionSelector extensionSelector, DeviceId deviceId)
Description copied from interface:TrafficSelector.BuilderUses an extension selector.- Specified by:
extensionin interfaceTrafficSelector.Builder- Parameters:
extensionSelector- extension selectordeviceId- device ID- Returns:
- a selection builder
-
build
public TrafficSelector build()
Description copied from interface:TrafficSelector.BuilderBuilds an immutable traffic selector.- Specified by:
buildin interfaceTrafficSelector.Builder- Returns:
- traffic selector
-
-