public class ActorJid extends VLenScalarJid<String,Jid> implements Reference
len, value
serializedBytes, serializedOffset
Constructor and Description |
---|
ActorJid() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the content.
|
Jid |
getValue()
Returns the actor held by this component.
|
Boolean |
makeJidBytes(JidFactory jidFactory,
byte[] bytes)
Creates a JID actor and loads its serialized data, unless a JID actor is already present.
|
Boolean |
makeJidBytes(String actorType,
byte[] bytes)
Creates a JID actor and loads its serialized data, unless a JID actor is already present.
|
Boolean |
makeValue(JidFactory jidFactory)
Assign a value unless one is already present.
|
Boolean |
makeValue(String jidType)
Assign a value unless one is already present.
|
_Jid |
resolvePathname(String pathname)
Resolves a JID pathname, returning a JID actor or null.
|
protected void |
serialize(AppendableBytes appendableBytes)
Serialize the persistent data.
|
void |
setBytes(org.agilewiki.jactor.factory.ActorFactory jidFactory,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
void |
setBytes(String jidType,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
void |
setJidBytes(org.agilewiki.jactor.factory.ActorFactory jidFactory,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
void |
setJidBytes(String actorType,
byte[] bytes)
Creates a JID actor and loads its serialized data.
|
void |
setValue(org.agilewiki.jactor.factory.ActorFactory jidFactory)
Assign a value.
|
void |
setValue(String jidType)
Assign a value.
|
change, getSerializedLength, load, loadLen, saveLen, skipLen
changed, copyJID, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, createSubordinate, getSerializedBytes, isJidEqual, isSerialized, readable, save, 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
change, getSerializedLength, load, save, setContainerJid
public void clear() throws Exception
public Boolean makeValue(String jidType) throws Exception
public Boolean makeValue(JidFactory jidFactory) throws Exception
public void setValue(org.agilewiki.jactor.factory.ActorFactory jidFactory) throws Exception
public void setJidBytes(String actorType, byte[] bytes) throws Exception
setJidBytes
in interface Reference
actorType
- An actor type name.bytes
- The serialized data.Exception
- Any uncaught exception raised.public Boolean makeJidBytes(String actorType, byte[] bytes) throws Exception
makeJidBytes
in interface Reference
actorType
- An actor type name.bytes
- The serialized data.Exception
- Any uncaught exception raised.public void setBytes(String jidType, byte[] bytes) throws Exception
jidType
- The actor type.bytes
- The serialized data.Exception
- Any uncaught exception raised.public void setJidBytes(org.agilewiki.jactor.factory.ActorFactory jidFactory, byte[] bytes) throws Exception
setJidBytes
in interface Reference
jidFactory
- The actor type.bytes
- The serialized data.Exception
- Any uncaught exception raised.public Boolean makeJidBytes(JidFactory jidFactory, byte[] bytes) throws Exception
makeJidBytes
in interface Reference
jidFactory
- The actor type.bytes
- The serialized data.Exception
- Any uncaught exception raised.public void setBytes(org.agilewiki.jactor.factory.ActorFactory jidFactory, byte[] bytes) throws Exception
jidFactory
- The actor type.bytes
- The serialized data.Exception
- Any uncaught exception raised.protected void serialize(AppendableBytes appendableBytes) 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.