Package org.agilewiki.jid.scalar.vlens.actor

Examples of org.agilewiki.jid.scalar.vlens.actor.ActorJid


public class Blob extends StringMapJid implements Main {
    @Override
    public void processRequest(Proc request, RP rp) throws Exception {
        initializeList();
        ActorJid aj = (ActorJid) kGet("fun");
        Actor a = aj.getValue();
        Proc.req.send(this, a, rp);
    }
View Full Code Here


        RootJid root = new RootJid();
        root.initialize(mailbox, factory);
        (new SetActor("blob")).send(future, root);
        Blob blob = (Blob) (new ResolvePathname("0")).send(future, root);
        new KMake<String, ActorJid>("fun").send(future, blob);
        ActorJid fun = (ActorJid) new KGet<String, ActorJid>("fun").send(future, blob);
        (new SetActor("hi")).send(future, fun);
        byte[] rootBytes = GetSerializedBytes.req.send(future, root);

        RootJid root2 = new RootJid();
        root2.initialize(mailbox, factory);
View Full Code Here

    }

    public ActorJid makeActorJid(String key)
            throws Exception {
        StringMapJid smj = makeStringMapJid();
        ActorJid actorJid = (ActorJid) smj.kGet(key);
        if (actorJid == null) {
            smj.kMake(key);
            actorJid = (ActorJid) smj.kGet(key);
        }
        return actorJid;
View Full Code Here

        return actorJid;
    }

    public _Jid getJid(String key)
            throws Exception {
        ActorJid aj = getActorJid(key);
        if (aj == null)
            return null;
        _Jid jid = aj.getValue();
        return jid;
    }
View Full Code Here

        return jid;
    }

    public _Jid makeJid(String key, String factoryName)
            throws Exception {
        ActorJid aj = makeActorJid(key);
        _Jid jid = aj.getValue();
        if (jid == null) {
            aj.setValue(factoryName);
            jid = aj.getValue();
        }
        return jid;
    }
View Full Code Here

    public void processBlock(ProcessBlock req, RP rp) throws Exception {
        RootJid rootJid = req.block.getRootJid(getMailboxFactory().createMailbox(), getParent());
        EvaluatorListJid transactionListJid = (EvaluatorListJid) rootJid.getValue();
        int i = 0;
        while (i < transactionListJid.size()) {
            ActorJid actorJid = (ActorJid) transactionListJid.iGet(i);
            try {
                actorJid.getValue();
            } catch (Exception ex) {
                throw ex;
            }
            i += 1;
        }
View Full Code Here

TOP

Related Classes of org.agilewiki.jid.scalar.vlens.actor.ActorJid

Copyright © 2018 www.massapicom. 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.