public abstract class CollectionJid<ENTRY_TYPE extends Jid> extends Jid implements Collection<ENTRY_TYPE>
Modifier and Type | Field and Description |
---|---|
protected int |
len
The size of the serialized data (exclusive of its length header).
|
serializedBytes, serializedOffset
Constructor and Description |
---|
CollectionJid() |
Modifier and Type | Method and Description |
---|---|
void |
change(int lengthChange)
Process a change in the persistent data.
|
protected int |
loadLen(ReadableBytes readableBytes)
Returns the size of the serialized data (exclusive of its length header).
|
_Jid |
resolvePathname(String pathname)
Resolves a JID pathname, returning a JID actor or null.
|
protected void |
saveLen(AppendableBytes appendableBytes)
Writes the size of the serialized data (exclusive of its length header).
|
protected void |
skipLen(ReadableBytes readableBytes)
Skip over the length at the beginning of the serialized data.
|
changed, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, getSerializedLength, isJidEqual, isSerialized, load, readable, save, serialize, setContainerJid
acceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacity
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iGet, iSetBytes, size
getSerializedLength, load, save, setContainerJid
protected int len
protected void skipLen(ReadableBytes readableBytes)
readableBytes
- Holds the serialized data.protected int loadLen(ReadableBytes readableBytes)
readableBytes
- Holds the serialized data.protected void saveLen(AppendableBytes appendableBytes)
appendableBytes
- The object written to.public void change(int lengthChange) throws Exception
public _Jid resolvePathname(String pathname) throws Exception
resolvePathname
in interface _Jid
resolvePathname
in class Jid
pathname
- A JID pathname.Exception
- Any uncaught exception which occurred while processing the request.Copyright © 2013. All Rights Reserved.