public class OrFilter extends ConnectorFilter
filterSet, filtersLength
parent
Constructor and Description |
---|
OrFilter()
The constructor.
|
OrFilter(int tlvId)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the OrFilter length
OrFilter :
0xA1 L1 super.computeLength()
Length(OrFilter) = Length(0xA1) + Length(super.computeLength()) +
super.computeLength()
|
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
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public OrFilter(int tlvId)
public OrFilter()
public int computeLength()
computeLength
in interface Asn1Object
computeLength
in class ConnectorFilter
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in class ConnectorFilter
buffer
- The buffer where to put the PDUEncoderException
- if the buffer can't be encodedpublic String toString()
toString
in class ConnectorFilter
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.