public class ERO extends RSVPObject
bytes, classNum, cType, length| Constructor and Description |
|---|
ERO()
Constructor to be used when a new ERO Object wanted to be attached to a new message
|
ERO(byte[] bytes,
int offset)
Constructor to be used when a new ERO Object wanted to be decoded from a received
message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEROSubobject(EROSubobject eroSO)
Method to add a new ERO subobject to the ERO object.
|
void |
decode(byte[] bytes,
int offset) |
void |
encode()
Generic method to encode an RSVP element
|
LinkedList<EROSubobject> |
getEroSubobjects() |
void |
setEroSubobjects(LinkedList<EROSubobject> eroSubobjects) |
decodeHeader, encodeHeader, getBytes, getClassNum, getClassNum, getcType, getcType, getLength, getLength, setBytes, setClassNum, setcType, setLengthpublic ERO()
public ERO(byte[] bytes,
int offset)
bytes - offset - public void addEROSubobject(EROSubobject eroSO)
eroSO - public void encode()
throws RSVPProtocolViolationException
RSVPElementencode in interface RSVPElementencode in class RSVPObjectRSVPProtocolViolationExceptionpublic void decode(byte[] bytes,
int offset)
throws RSVPProtocolViolationException
decode in class RSVPObjectRSVPProtocolViolationExceptionpublic LinkedList<EROSubobject> getEroSubobjects()
public void setEroSubobjects(LinkedList<EROSubobject> eroSubobjects)
Copyright © 2016. All rights reserved.