public abstract class Filter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Filter |
parent
The parent Filter
|
protected int |
parentTlvId
The parent TLV id
|
(package private) int |
tlvId
The identifier of the associated TLV
|
| 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 java.nio.ByteBuffer |
encode(java.nio.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
|
int tlvId
protected int parentTlvId
protected Filter parent
public Filter(int tlvId)
public Filter()
public Filter getParent()
public int getParentTlvId()
public void setParent(Filter parent, int parentTlvId)
parent - The parent to set.public int getTlvId()
public abstract int computeLength()
public abstract java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
buffer - The buffer where to put the PDUEncoderException