// Stub class generated by rmic, do not edit.
// Contents subject to change without notice.

package org.huihoo.willow.client;

public final class LiveDispatcherImpl_Stub
    extends java.rmi.server.RemoteStub
    implements workflow.live.store.LiveDispatcher, java.rmi.Remote
{
    private static final long serialVersionUID = 2;
    
    private static java.lang.reflect.Method $method_accept_0;
    private static java.lang.reflect.Method $method_dispatch_1;
    private static java.lang.reflect.Method $method_fetch_2;
    private static java.lang.reflect.Method $method_revert_3;
    
    static {
	try {
	    $method_accept_0 = workflow.live.store.LiveDispatcher.class.getMethod("accept", new java.lang.Class[] {java.lang.String.class, workflow.live.rtm.LiveWork.class});
	    $method_dispatch_1 = workflow.live.store.LiveDispatcher.class.getMethod("dispatch", new java.lang.Class[] {java.lang.String.class, workflow.live.rtm.LiveWork.class});
	    $method_fetch_2 = workflow.live.store.LiveDispatcher.class.getMethod("fetch", new java.lang.Class[] {java.lang.String.class, workflow.live.rtm.LiveWork.class});
	    $method_revert_3 = workflow.live.store.LiveDispatcher.class.getMethod("revert", new java.lang.Class[] {java.lang.String.class, workflow.live.rtm.LiveWork.class});
	} catch (java.lang.NoSuchMethodException e) {
	    throw new java.lang.NoSuchMethodError(
		"stub class initialization failed");
	}
    }
    
    // constructors
    public LiveDispatcherImpl_Stub(java.rmi.server.RemoteRef ref) {
	super(ref);
    }
    
    // methods from remote interfaces
    
    // implementation of accept(String, LiveWork)
    public boolean accept(java.lang.String $param_String_1, workflow.live.rtm.LiveWork $param_LiveWork_2)
	throws java.rmi.RemoteException, workflow.WorkflowException
    {
	try {
	    Object $result = ref.invoke(this, $method_accept_0, new java.lang.Object[] {$param_String_1, $param_LiveWork_2}, -534445451211197900L);
	    return ((java.lang.Boolean) $result).booleanValue();
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (workflow.WorkflowException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of dispatch(String, LiveWork)
    public boolean dispatch(java.lang.String $param_String_1, workflow.live.rtm.LiveWork $param_LiveWork_2)
	throws java.rmi.RemoteException, workflow.WorkflowException
    {
	try {
	    Object $result = ref.invoke(this, $method_dispatch_1, new java.lang.Object[] {$param_String_1, $param_LiveWork_2}, 225089985694503969L);
	    return ((java.lang.Boolean) $result).booleanValue();
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (workflow.WorkflowException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of fetch(String, LiveWork)
    public boolean fetch(java.lang.String $param_String_1, workflow.live.rtm.LiveWork $param_LiveWork_2)
	throws java.rmi.RemoteException, workflow.WorkflowException
    {
	try {
	    Object $result = ref.invoke(this, $method_fetch_2, new java.lang.Object[] {$param_String_1, $param_LiveWork_2}, 2391378198010387797L);
	    return ((java.lang.Boolean) $result).booleanValue();
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (workflow.WorkflowException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of revert(String, LiveWork)
    public boolean revert(java.lang.String $param_String_1, workflow.live.rtm.LiveWork $param_LiveWork_2)
	throws java.rmi.RemoteException, workflow.WorkflowException
    {
	try {
	    Object $result = ref.invoke(this, $method_revert_3, new java.lang.Object[] {$param_String_1, $param_LiveWork_2}, -8773590152240028381L);
	    return ((java.lang.Boolean) $result).booleanValue();
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (workflow.WorkflowException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
}
