public abstract class Filter extends Object
Constructor and Description |
---|
Filter()
The constructor.
|
Filter(int tlvId)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
computeLength()
Compute the Filter length
|
abstract ByteBuffer |
encode(ByteBuffer buffer)
Encode the Filter message to a PDU.
|
Filter |
getParent()
Get the parent
|
int |
getParentTlvId()
Get the parent
|
int |
getTlvId() |
void |
setParent(Filter parent,
int parentTlvId)
Set the parent
|
public Filter(int tlvId)
tlvId
- The TLV identifierpublic Filter()
public int getParentTlvId()
public void setParent(Filter parent, int parentTlvId)
parent
- The parent to set.parentTlvId
- The Parent TLV identifierpublic int getTlvId()
public abstract int computeLength()
public abstract ByteBuffer encode(ByteBuffer buffer) throws EncoderException
buffer
- The buffer where to put the PDUEncoderException
- If the encoding failedCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.