public class NotFilter extends ConnectorFilter
filterSet, filtersLengthparent, parentTlvId| Constructor and Description |
|---|
NotFilter()
The constructor.
|
NotFilter(int tlvId)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(Filter filter)
Subclass the addFilterMethod, as this is specific for a NotFilter (we
cannot have more than one elements).
|
int |
computeLength()
Compute the NotFilter length
NotFilter :
0xA2 L1 super.computeLength()
Length(NotFilter) = Length(0xA2) + Length(super.computeLength()) +
super.computeLength()
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the NotFilter message to a PDU.
|
Filter |
getNotFilter()
Get the NotFilter
|
void |
setNotFilter(Filter notFilter)
Set the NotFilter
|
String |
toString()
Return a string compliant with RFC 2254 representing a NOT filter
|
getFilterSetgetParent, getParentTlvId, getTlvId, setParentpublic NotFilter(int tlvId)
public NotFilter()
public void addFilter(Filter filter) throws DecoderException
addFilter in class ConnectorFilterfilter - The Filter to addDecoderExceptionpublic Filter getNotFilter()
public void setNotFilter(Filter notFilter) throws DecoderException
notFilter - The notFilter to set.DecoderExceptionpublic int computeLength()
computeLength in class ConnectorFilterpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in class ConnectorFilterbuffer - The buffer where to put the PDUEncoderExceptionpublic String toString()
toString in class ConnectorFilterCopyright © 2021. All rights reserved.