public class SenderDescriptorTE extends SenderDescriptor
adspec, senderTemplate, senderTSPEC
bytes, length
Constructor and Description |
---|
SenderDescriptorTE()
Builder to be used when a received Sender Descriptor TE and it is wanted to decode it
|
SenderDescriptorTE(SenderTemplate senderTemplate,
IntservSenderTSpec senderTSPEC,
IntservADSPEC adspec,
RRO rro)
Builder to be used when a new Sender Descriptor TE wanted to be created and sent
|
Modifier and Type | Method and Description |
---|---|
void |
decode(byte[] bytes,
int offset)
Sender Descriptor TE decoding method.
|
void |
encode()
Sender Descriptor TE encoding method.
|
RRO |
getRro() |
void |
setRro(RRO rro) |
getAdspec, getSenderTemplate, getSenderTSPEC, setAdspec, setSenderTemplate, setSenderTSPEC
getBytes, getLength, setBytes, setLength
public SenderDescriptorTE()
public SenderDescriptorTE(SenderTemplate senderTemplate, IntservSenderTSpec senderTSPEC, IntservADSPEC adspec, RRO rro) throws RSVPProtocolViolationException
senderTemplate
- senderTSPEC
- adspec
- Optional, might be nullrro
- Optional, migth be nullRSVPProtocolViolationException
- It is thrown when a mandatory field is not presentpublic void encode() throws RSVPProtocolViolationException
encode
in interface RSVPElement
encode
in class SenderDescriptor
RSVPProtocolViolationException
public void decode(byte[] bytes, int offset) throws RSVPProtocolViolationException
decode
in class SenderDescriptor
RSVPProtocolViolationException
public RRO getRro()
public void setRro(RRO rro)
Copyright © 2016. All rights reserved.