Package com.threerings.whirled.zone.peer.data

Examples of com.threerings.whirled.zone.peer.data.HostedZone


    public Tuple<String, HostedZone> getZoneHost (final int zoneId)
    {
        return lookupNodeDatum(new NodeFunc<Tuple<String, HostedZone>>() {
            @Override
            public Tuple<String, HostedZone> apply (ZoneNodeObject nodeobj) {
                HostedZone info = nodeobj.hostedZones.get(zoneId);
                return (info == null) ? null : Tuple.newTuple(nodeobj.nodeName, info);
            }
        });
    }
View Full Code Here


     * Called by the ZoneManager when it is hosting a zone.
     */
    public void zoneDidStartup (int zoneId, Name name)
    {
        log.debug("Hosting zone", "id", zoneId, "name", name);
        ((ZoneNodeObject)_nodeobj).addToHostedZones(new HostedZone(zoneId, name));
    }
View Full Code Here

TOP

Related Classes of com.threerings.whirled.zone.peer.data.HostedZone

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.