//
// $Id: BootstrapData.java,v 1.1 2001/07/19 07:09:16 mdb Exp $

package com.threerings.cocktail.cher.net;

import com.threerings.cocktail.cher.dobj.DObject;

/**
 * An <code>BootstrapData</code> object is communicated back to the client
 * after authentication has succeeded and after the server is fully
 * prepared to deal with the client. It contains information the client
 * will need to interact with the server.
 */
public class BootstrapData extends DObject
{
    /** The oid of this client's associated distributed object. */
    public int clientOid;

    /** The oid to which to send invocation requests. */
    public int invOid;

    public String toString ()
    {
        return "[clientOid=" + clientOid + ", invOid=" + invOid + "]";
    }
}

//
// $Id: BootstrapData.java,v 1.2 2001/10/09 18:17:52 mdb Exp $

package com.threerings.cocktail.cher.net;

import com.threerings.cocktail.cher.dobj.DObject;

/**
 * A <code>BootstrapData</code> object is communicated back to the client
 * after authentication has succeeded and after the server is fully
 * prepared to deal with the client. It contains information the client
 * will need to interact with the server.
 */
public class BootstrapData extends DObject
{
    /** The oid of this client's associated distributed object. */
    public int clientOid;

    /** The oid to which to send invocation requests. */
    public int invOid;

    // documentation inherited
    public void toString (StringBuffer buf)
    {
        super.toString(buf);
        buf.append(", clientOid=").append(clientOid);
        buf.append(", invOid=").append(invOid);
    }
}

Use the proper toString() method.
Use the proper toString() method.


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