public class AndFilter extends ConnectorFilter
filterSet, filtersLength
parent, parentTlvId
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
getParent, getParentTlvId, getTlvId, setParent
public AndFilter(int tlvId)
public AndFilter()
public List<Filter> getAndFilter()
public int computeLength()
computeLength
in class ConnectorFilter
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in class ConnectorFilter
buffer
- The buffer where to put the PDUEncoderException
public String toString()
toString
in class ConnectorFilter
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.