public class AndFilter extends ConnectorFilter
filterSet, filtersLengthparent| 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, getFilterSetaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic AndFilter(int tlvId)
public AndFilter()
public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in class ConnectorFilterpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in class ConnectorFilterbuffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedpublic String toString()
toString in class ConnectorFilterCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.