public interface _Jid
extends org.agilewiki.jactor.lpc.TargetActor
Modifier and Type | Method and Description |
---|---|
void |
change(int lengthChange)
Process a change in the persistent data.
|
int |
getSerializedLength()
Returns the number of bytes needed to serialize the persistent data.
|
void |
load(ReadableBytes readableBytes)
Load the serialized data into the JID.
|
_Jid |
resolvePathname(String pathname)
Resolves a JID pathname, returning a JID actor or null.
|
void |
save(AppendableBytes appendableBytes)
Saves the persistent data in a byte array.
|
void |
setContainerJid(_Jid containerJid)
Assign the container.
|
void change(int lengthChange) throws Exception
lengthChange
- The change in the size of the serialized data.Exception
- Any uncaught exception which occurred while processing the change.void setContainerJid(_Jid containerJid)
containerJid
- The container, or null.int getSerializedLength() throws Exception
Exception
void save(AppendableBytes appendableBytes) throws Exception
appendableBytes
- Holds the byte array and offset.Exception
void load(ReadableBytes readableBytes) throws Exception
readableBytes
- Holds the serialized data.Exception
Copyright © 2013. All Rights Reserved.