public class AndFilter extends ConnectorFilter
filterSet, filtersLengthparent, parentTlvId, tlvId| 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()
|
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the AndFilter message to a PDU.
|
java.util.List<Filter> |
getAndFilter()
Get the AndFilter.
|
java.lang.String |
toString()
Return a string compliant with RFC 2254 representing an AND filter
|
addFilter, getFilterSetgetParent, getParentTlvId, getTlvId, setParentpublic AndFilter(int tlvId)
public AndFilter()
public java.util.List<Filter> getAndFilter()
public int computeLength()
computeLength in class ConnectorFilterpublic java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in class ConnectorFilterbuffer - The buffer where to put the PDUEncoderExceptionpublic java.lang.String toString()
toString in class ConnectorFilter