public abstract class RSVPConstruct extends Object implements RSVPElement
A RSVP Construct is a rule that joins RSVP Objects and Constructions. Each specific construct will have its elements
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
bytes |
protected int |
length |
| Constructor and Description |
|---|
RSVPConstruct() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
decode(byte[] bytes,
int offset)
Decode the Element based on the bytes passed, starting in the offset position
|
byte[] |
getBytes()
Generic method to get the byte array from an encoded RSVP element
|
int |
getLength()
Generic method to get length an encoded RSVP element byte array
|
void |
setBytes(byte[] bytes) |
void |
setLength(int length) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodepublic byte[] getBytes()
RSVPElementgetBytes in interface RSVPElementpublic void setBytes(byte[] bytes)
public int getLength()
RSVPElementgetLength in interface RSVPElementpublic void setLength(int length)
public abstract void decode(byte[] bytes,
int offset)
throws RSVPProtocolViolationException
bytes - offset - RSVPProtocolViolationExceptionCopyright © 2016. All rights reserved.