public class SEFlowDescriptorTE extends SEFlowDescriptor
bytes, length
Constructor and Description |
---|
SEFlowDescriptorTE()
Constructor to be used when a SE Flow Descriptor TE is received and it is wanted to decode it
|
SEFlowDescriptorTE(FlowSpec flowSpec,
FilterSpecTE filterSpec)
Constructor to be used when a new SE Flow Descriptor TE it wanted to be created and sent
|
Modifier and Type | Method and Description |
---|---|
void |
addFilterSpec(FilterSpecTE filterSpec)
Method to add new Filter Spec TE object to the filter Spec list
|
void |
decode(byte[] bytes,
int offset)
SE Flow Descriptor decoding method.
|
void |
encode()
SE Flow Descriptor TE encoding method.
|
LinkedList<FilterSpecTE> |
getFilterSpecTEList() |
FlowSpec |
getFlowSpec() |
void |
setFilterSpecTEList(LinkedList<FilterSpecTE> filterSpecTEList) |
void |
setFlowSpec(FlowSpec flowSpec) |
addFilterSpec, getFilterSpecList, setFilterSpecList
getBytes, getLength, setBytes, setLength
public SEFlowDescriptorTE()
public SEFlowDescriptorTE(FlowSpec flowSpec, FilterSpecTE filterSpec) throws RSVPProtocolViolationException
flowSpec
- filterSpec
- RSVPProtocolViolationException
- It is thrown when a mandatory field is not presentpublic void addFilterSpec(FilterSpecTE filterSpec)
filterSpec
- public void encode() throws RSVPProtocolViolationException
encode
in interface RSVPElement
encode
in class SEFlowDescriptor
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
decode
in class SEFlowDescriptor
RSVPProtocolViolationException
public FlowSpec getFlowSpec()
getFlowSpec
in class SEFlowDescriptor
public void setFlowSpec(FlowSpec flowSpec)
setFlowSpec
in class SEFlowDescriptor
public LinkedList<FilterSpecTE> getFilterSpecTEList()
public void setFilterSpecTEList(LinkedList<FilterSpecTE> filterSpecTEList)
Copyright © 2016. All rights reserved.