public class AppJid extends Jid
| Modifier and Type | Field and Description |
|---|---|
protected _Jid[] |
tuple
A tuple of actors.
|
protected org.agilewiki.jactor.factory.ActorFactory[] |
tupleFactories
An array of actor types, one for each element in the tuple.
|
serializedBytes, serializedOffset| Constructor and Description |
|---|
AppJid() |
| Modifier and Type | Method and Description |
|---|---|
protected _Jid |
_iGet(int i)
Returns the ith JID component.
|
protected void |
_iSetBytes(int i,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
protected _Jid |
_resolvePathname(String pathname)
Resolves a JID pathname, returning a JID actor or null.
|
protected int |
_size()
Returns the size of the collection.
|
void |
change(int lengthChange)
Process a change in the persistent data.
|
int |
getSerializedLength()
Returns the number of bytes needed to serialize the persistent data.
|
protected org.agilewiki.jactor.factory.ActorFactory[] |
getTupleFactories()
Returns the element factories.
|
void |
load(ReadableBytes readableBytes)
Load the serialized data into the JID.
|
protected void |
serialize(AppendableBytes appendableBytes)
Serialize the persistent data.
|
changed, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, resolvePathname, save, setContainerJidacceptEvent, acceptRequest, getActorType, getAncestor, getExceptionHandler, getFactory, getMailbox, getMailboxFactory, getMatch, getParent, hasDataItem, haveEvents, initialize, initialize, initialize, initialize, initialize, requirements, responseFrom, send, send, sendEvent, setExceptionHandler, setInitialBufferCapacityprotected org.agilewiki.jactor.factory.ActorFactory[] tupleFactories
protected _Jid[] tuple
protected org.agilewiki.jactor.factory.ActorFactory[] getTupleFactories()
throws Exception
Exceptionprotected void _iSetBytes(int i,
byte[] bytes)
throws Exception
i - The index of the desired element.bytes - Holds the serialized data.Exception - Any exceptions thrown while processing the request.protected int _size()
throws Exception
Exceptionprotected _Jid _iGet(int i) throws Exception
i - The index of the element of interest.Exceptionprotected _Jid _resolvePathname(String pathname) throws Exception
pathname - A JID pathname.Exception - Any uncaught exception which occurred while processing the request.public int getSerializedLength()
throws Exception
getSerializedLength in interface _JidgetSerializedLength in class JidExceptionprotected void serialize(AppendableBytes appendableBytes) throws Exception
public void load(ReadableBytes readableBytes) throws Exception
public void change(int lengthChange)
throws Exception
Copyright © 2013. All Rights Reserved.