public abstract class DCEList extends Object
Base class for lists of objects that are DCE/RPC readable and/or writeable.
| Modifier | Constructor and Description |
|---|---|
protected |
DCEList()
Default constructor
|
protected |
DCEList(DCEBuffer buf)
Class constructor
|
protected |
DCEList(int infoLevel)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addObject(Object obj)
Add an object to the list
|
protected boolean |
containerIsValid()
Determine if the container is valid
|
Object |
getElement(int idx)
Return an element from the list
|
int |
getInformationLevel()
Return the information level
|
List<Object> |
getList()
Return the object list
|
protected abstract DCEReadable |
getNewObject()
Get a new object for the list to fill in
|
int |
numberOfEntries()
Return the number of entries in the list
|
void |
readList(DCEBuffer buf)
Read a list of objects from the DCE buffer
|
protected void |
setInformationLevel(int infoLevel)
Set the information level
|
protected void |
setList(List<Object> list)
Set the object list
|
String |
toString()
Return the list as a string
|
void |
writeList(DCEBuffer buf)
Write the list of objects to a DCE buffer
|
protected DCEList()
protected DCEList(int infoLevel)
infoLevel - intprotected DCEList(DCEBuffer buf) throws DCEBufferException
buf - DCEBufferDCEBufferExceptionpublic final int getInformationLevel()
public final int numberOfEntries()
public final Object getElement(int idx)
idx - intprotected final boolean containerIsValid()
protected final void addObject(Object obj)
obj - Objectprotected final void setInformationLevel(int infoLevel)
infoLevel - intprotected abstract DCEReadable getNewObject()
public void readList(DCEBuffer buf) throws DCEBufferException
buf - DCEBufferDCEBufferExceptionpublic final void writeList(DCEBuffer buf) throws DCEBufferException
buf - DCEBufferDCEBufferExceptionCopyright © 2005–2015 Alfresco Software. All rights reserved.