Package org.agilewiki.jactor.factory

Examples of org.agilewiki.jactor.factory.ActorFactory.newActor()


        super.load(readableBytes);
        factoryIndex = readableBytes.readInt();
        if (factoryIndex == -1)
            return;
        ActorFactory factory = getUnionFactories()[factoryIndex];
        value = (Jid) factory.newActor(getMailbox(), getParent());
        value.load(readableBytes);
        value.setContainerJid(this);
    }

    /**
 
View Full Code Here


            factoryIndex = -1;
            value = null;
        } else {
            ActorFactory factory = getUnionFactories()[ndx];
            factoryIndex = ndx;
            value = (Jid) factory.newActor(getMailbox(), getParent());
            value.setContainerJid(this);
        }
        change(getSerializedLength() - oldLength);
    }
View Full Code Here

        int oldLength = getSerializedLength();
        if (value != null)
            value.setContainerJid(null);
        ActorFactory factory = getUnionFactories()[ndx];
        factoryIndex = ndx;
        value = (Jid) factory.newActor(getMailbox(), getParent());
        value.setContainerJid(this);
        value.load(new ReadableBytes(bytes, 0));
        change(getSerializedLength() - oldLength);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.