public class SuggestedLabel extends Label
bytes, classNum, cType, length| Constructor and Description | 
|---|
SuggestedLabel(byte[] bytes,
              int offset)
Constructor to be used when a new ERO Object wanted to be decoded from a received
 message. 
 | 
SuggestedLabel(int label)
Constructor to be used when a new Label Object wanted to be attached to a new message 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
decode(byte[] bytes,
      int offset)  | 
void | 
encode()
Generic method to encode an RSVP element 
 | 
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthpublic SuggestedLabel(int label)
label - The label number requestedpublic SuggestedLabel(byte[] bytes,
                      int offset)
bytes - offset - public void encode()
            throws RSVPProtocolViolationException
RSVPElementencode in interface RSVPElementencode in class LabelRSVPProtocolViolationExceptionpublic void decode(byte[] bytes,
                   int offset)
            throws RSVPProtocolViolationException
decode in class LabelRSVPProtocolViolationExceptionCopyright © 2016. All rights reserved.