public class OrFilter extends ConnectorFilter
Constructor and Description |
---|
OrFilter()
The constructor.
|
OrFilter(int tlvId)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the OrFilter length
OrFilter : |
ByteBuffer |
encode(ByteBuffer buffer)
Encode the OrFilter message to a PDU.
|
List<Filter> |
getOrFilter()
Get the OrFilter
|
String |
toString()
Return a string compliant with RFC 2254 representing an OR filter
|
addFilter, getFilterSet
getParent, getParentTlvId, getTlvId, setParent
public OrFilter(int tlvId)
tlvId
- The TLV identifierpublic OrFilter()
public List<Filter> getOrFilter()
public int computeLength()
0xA1 L1 super.computeLength() Length(OrFilter) = Length(0xA1) + Length(super.computeLength()) + super.computeLength()
computeLength
in class ConnectorFilter
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
0xA1 LL filter.encode()
encode
in class ConnectorFilter
buffer
- The buffer where to put the PDUEncoderException
- If the encoding failedpublic String toString()
toString
in class ConnectorFilter
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.