// 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_Stub.java

package boggle.server;

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

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

public final class boggleServer_Stub extends RemoteStub
    implements boggleServerInterface, Remote
{

    public boggleServer_Stub()
    {
    }

    public boggleServer_Stub(RemoteRef remoteref)
    {
        super(remoteref);
    }

    public int Signup(String s, String s1, int i)
        throws RemoteException
    {
        int j = 0;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, j, 0x1f4b0572646908adL);
        try
        {
            ObjectOutput objectoutput = remotecall.getOutputStream();
            objectoutput.writeObject(s);
            objectoutput.writeObject(s1);
            objectoutput.writeInt(i);
        }
        catch(IOException ioexception)
        {
            throw new MarshalException("Error marshaling arguments", ioexception);
        }
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        int k;
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            k = objectinput.readInt();
        }
        catch(IOException ioexception1)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception1);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return k;
    }

    public String[] getGameList()
        throws RemoteException
    {
        int i = 1;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, i, 0x1f4b0572646908adL);
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        String as[];
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            as = (String[])objectinput.readObject();
        }
        catch(IOException ioexception)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new UnmarshalException("Return value class not found", classnotfoundexception);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return as;
    }

    public String[] getLanguageList()
        throws RemoteException
    {
        byte byte0 = 2;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, byte0, 0x1f4b0572646908adL);
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        String as[];
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            as = (String[])objectinput.readObject();
        }
        catch(IOException ioexception)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new UnmarshalException("Return value class not found", classnotfoundexception);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return as;
    }

    public String[] getPlayerList()
        throws RemoteException
    {
        byte byte0 = 3;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, byte0, 0x1f4b0572646908adL);
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        String as[];
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            as = (String[])objectinput.readObject();
        }
        catch(IOException ioexception)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception);
        }
        catch(ClassNotFoundException classnotfoundexception)
        {
            throw new UnmarshalException("Return value class not found", classnotfoundexception);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return as;
    }

    public int getPlayers()
        throws RemoteException
    {
        byte byte0 = 4;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, byte0, 0x1f4b0572646908adL);
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        int i;
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            i = objectinput.readInt();
        }
        catch(IOException ioexception)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return i;
    }

    public int login(String s, int i, int j)
        throws RemoteException
    {
        byte byte0 = 5;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, byte0, 0x1f4b0572646908adL);
        try
        {
            ObjectOutput objectoutput = remotecall.getOutputStream();
            objectoutput.writeObject(s);
            objectoutput.writeInt(i);
            objectoutput.writeInt(j);
        }
        catch(IOException ioexception)
        {
            throw new MarshalException("Error marshaling arguments", ioexception);
        }
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        int k;
        try
        {
            ObjectInput objectinput = remotecall.getInputStream();
            k = objectinput.readInt();
        }
        catch(IOException ioexception1)
        {
            throw new UnmarshalException("Error unmarshaling return", ioexception1);
        }
        catch(Exception exception2)
        {
            throw new UnexpectedException("Unexpected exception", exception2);
        }
        finally
        {
            remoteref.done(remotecall);
        }
        return k;
    }

    public void logout(int i)
        throws RemoteException
    {
        byte byte0 = 6;
        RemoteRef remoteref = ref;
        RemoteCall remotecall = remoteref.newCall(this, operations, byte0, 0x1f4b0572646908adL);
        try
        {
            ObjectOutput objectoutput = remotecall.getOutputStream();
            objectoutput.writeInt(i);
        }
        catch(IOException ioexception)
        {
            throw new MarshalException("Error marshaling arguments", ioexception);
        }
        try
        {
            remoteref.invoke(remotecall);
        }
        catch(RemoteException remoteexception)
        {
            throw remoteexception;
        }
        catch(Exception exception)
        {
            throw new UnexpectedException("Unexpected exception", exception);
        }
        remoteref.done(remotecall);
    }

    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;

}
