// Decompiled by Jad v1.5.7f. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   boggleServer_Skel.java

package boggle.server;

import java.io.*;
import java.rmi.*;
import java.rmi.server.*;

// Referenced classes of package boggle.server:
//            boggleServer

public final class boggleServer_Skel
    implements Skeleton
{

    public Operation[] getOperations()
    {
        return operations;
    }

    public void dispatch(Remote remote, RemoteCall remotecall, int i, long l)
        throws RemoteException, Exception
    {
        if(l != 0x1f4b0572646908adL)
            throw new SkeletonMismatchException("Hash mismatch");
        boggleServer boggleserver = (boggleServer)remote;
        switch(i)
        {
        case 0: // '\0'
            String s;
            String s2;
            int j1;
            try
            {
                ObjectInput objectinput1 = remotecall.getInputStream();
                s = (String)objectinput1.readObject();
                s2 = (String)objectinput1.readObject();
                j1 = objectinput1.readInt();
            }
            catch(IOException ioexception8)
            {
                throw new UnmarshalException("Error unmarshaling arguments", ioexception8);
            }
            finally
            {
                remotecall.releaseInputStream();
            }
            int l1 = boggleserver.Signup(s, s2, j1);
            try
            {
                ObjectOutput objectoutput4 = remotecall.getResultStream(true);
                objectoutput4.writeInt(l1);
                return;
            }
            catch(IOException ioexception6)
            {
                throw new MarshalException("Error marshaling return", ioexception6);
            }

        case 1: // '\001'
            remotecall.releaseInputStream();
            String as[] = boggleserver.getGameList();
            try
            {
                ObjectOutput objectoutput = remotecall.getResultStream(true);
                objectoutput.writeObject(as);
                return;
            }
            catch(IOException ioexception)
            {
                throw new MarshalException("Error marshaling return", ioexception);
            }

        case 2: // '\002'
            remotecall.releaseInputStream();
            String as1[] = boggleserver.getLanguageList();
            try
            {
                ObjectOutput objectoutput1 = remotecall.getResultStream(true);
                objectoutput1.writeObject(as1);
                return;
            }
            catch(IOException ioexception1)
            {
                throw new MarshalException("Error marshaling return", ioexception1);
            }

        case 3: // '\003'
            remotecall.releaseInputStream();
            String as2[] = boggleserver.getPlayerList();
            try
            {
                ObjectOutput objectoutput2 = remotecall.getResultStream(true);
                objectoutput2.writeObject(as2);
                return;
            }
            catch(IOException ioexception2)
            {
                throw new MarshalException("Error marshaling return", ioexception2);
            }

        case 4: // '\004'
            remotecall.releaseInputStream();
            int j = boggleserver.getPlayers();
            try
            {
                ObjectOutput objectoutput3 = remotecall.getResultStream(true);
                objectoutput3.writeInt(j);
                return;
            }
            catch(IOException ioexception3)
            {
                throw new MarshalException("Error marshaling return", ioexception3);
            }

        case 5: // '\005'
            String s1;
            int i1;
            int k1;
            try
            {
                ObjectInput objectinput2 = remotecall.getInputStream();
                s1 = (String)objectinput2.readObject();
                i1 = objectinput2.readInt();
                k1 = objectinput2.readInt();
            }
            catch(IOException ioexception9)
            {
                throw new UnmarshalException("Error unmarshaling arguments", ioexception9);
            }
            finally
            {
                remotecall.releaseInputStream();
            }
            int i2 = boggleserver.login(s1, i1, k1);
            try
            {
                ObjectOutput objectoutput5 = remotecall.getResultStream(true);
                objectoutput5.writeInt(i2);
                return;
            }
            catch(IOException ioexception7)
            {
                throw new MarshalException("Error marshaling return", ioexception7);
            }

        case 6: // '\006'
            int k;
            try
            {
                ObjectInput objectinput = remotecall.getInputStream();
                k = objectinput.readInt();
            }
            catch(IOException ioexception5)
            {
                throw new UnmarshalException("Error unmarshaling arguments", ioexception5);
            }
            finally
            {
                remotecall.releaseInputStream();
            }
            boggleserver.logout(k);
            try
            {
                remotecall.getResultStream(true);
                return;
            }
            catch(IOException ioexception4)
            {
                throw new MarshalException("Error marshaling return", ioexception4);
            }
        }
        throw new RemoteException("Method number out of range");
    }

    public boggleServer_Skel()
    {
    }

    private static Operation operations[] = {
        new Operation("int Signup(java.lang.String, java.lang.String, int)"), new Operation("java.lang.String getGameList()[]"), new Operation("java.lang.String getLanguageList()[]"), new Operation("java.lang.String getPlayerList()[]"), new Operation("int getPlayers()"), new Operation("int login(java.lang.String, int, int)"), new Operation("void logout(int)")
    };
    private static final long interfaceHash = 0x1f4b0572646908adL;

}
