public class PresentFilter extends Filter
parent, parentTlvId
Constructor and Description |
---|
PresentFilter()
The constructor.
|
PresentFilter(int tlvId)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the PresentFilter length
PresentFilter :
0x87 L1 present
Length(PresentFilter) = Length(0x87) + Length(super.computeLength()) +
super.computeLength()
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the PresentFilter message to a PDU.
|
String |
getAttributeDescription()
Get the attribute
|
void |
setAttributeDescription(String attributeDescription)
Set the attributeDescription
|
String |
toString()
Return a string compliant with RFC 2254 representing a Present filter
|
getParent, getParentTlvId, getTlvId, setParent
public PresentFilter(int tlvId)
public PresentFilter()
public String getAttributeDescription()
public void setAttributeDescription(String attributeDescription)
attributeDescription
- The attributeDescription to set.public int computeLength()
computeLength
in class Filter
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in class Filter
buffer
- The buffer where to put the PDUEncoderException
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.