public class ErrorFlowDescriptor extends RSVPConstruct
Represents a Error Flow Descriptor construct, as defined in RFC 2205.
The following style-dependent rules define the composition of a valid error flow descriptor; the object order requirements are as given earlier for flow descriptor.
Each flow descriptor in a FF-style Resv message must be processed independently, and a separate ResvErr message must be generated for each one that is in error.
An SE-style ResvErr message may list the subset of the filter specs in the corresponding Resv message to which the error applies.
Note that a ResvErr message contains only one flow descriptor. Therefore, a Resv message that contains N > 1 flow descriptors (FF style) may create up to N separate ResvErr messages.
bytes, length
Constructor and Description |
---|
ErrorFlowDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset)
Decode the Element based on the bytes passed, starting in the offset position
|
void |
encode()
Generic method to encode an RSVP element
|
getBytes, getLength, setBytes, setLength
public void encode() throws RSVPProtocolViolationException
RSVPElement
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
RSVPConstruct
decode
in class RSVPConstruct
RSVPProtocolViolationException
Copyright © 2016. All rights reserved.