public class AndFilter extends ConnectorFilter
filterSet, filtersLength
parent
Constructor and Description |
---|
AndFilter()
The constructor.
|
AndFilter(int tlvId)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the AndFilter length
AndFilter :
0xA0 L1 super.computeLength()
Length(AndFilter) = Length(0xA0) + Length(super.computeLength()) +
super.computeLength()
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the AndFilter message to a PDU.
|
List<Filter> |
getAndFilter()
Get the AndFilter.
|
String |
toString()
Return a string compliant with RFC 2254 representing an AND filter
|
addFilter, getFilterSet
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public AndFilter(int tlvId)
public AndFilter()
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–2015 The Apache Software Foundation. All rights reserved.