//
// $Id: MiCasaClient.java,v 1.1 2001/10/09 18:20:08 mdb Exp $

package com.threerings.micasa.server;

import com.threerings.cocktail.cher.net.BootstrapData;
import com.threerings.cocktail.cher.server.CherClient;

/**
 * Extends the cher client and provides bootstrap data specific to the
 * MiCasa services.
 */
public class MiCasaClient extends CherClient
{
    // documentation inherited
    protected BootstrapData createBootstrapData ()
    {
        return new BootstrapData();
    }

    // documentation inherited
    protected void populateBootstrapData (BootstrapData data)
    {
        super.populateBootstrapData(data);
    }
}

//
// $Id: MiCasaClient.java,v 1.2 2001/10/09 19:23:50 mdb Exp $

package com.threerings.micasa.server;

import com.threerings.cocktail.cher.net.BootstrapData;
import com.threerings.cocktail.party.server.PartyClient;

import com.threerings.micasa.data.MiCasaBootstrapData;

/**
 * Extends the cher client and provides bootstrap data specific to the
 * MiCasa services.
 */
public class MiCasaClient extends PartyClient
{
    // documentation inherited
    protected BootstrapData createBootstrapData ()
    {
        return new MiCasaBootstrapData();
    }

    // documentation inherited
    protected void populateBootstrapData (BootstrapData data)
    {
        super.populateBootstrapData(data);

        // let the client know their default lobby oid
        ((MiCasaBootstrapData)data).defLobbyOid =
            MiCasaServer.lobreg.getDefaultLobbyOid();
    }
}

Extend PartyClient, do the right thing with our BootstrapData.
Extend PartyClient, do the right thing with our BootstrapData.


git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@419 542714f4-19e9-0310-aa3c-eee0fc999fb1
