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

package org.huihoo.willow.client;

public final class NamingImpl_Stub
    extends java.rmi.server.RemoteStub
    implements org.huihoo.willow.client.Naming
{
    private static final long serialVersionUID = 2;
    
    private static java.lang.reflect.Method $method_authenticate_0;
    private static java.lang.reflect.Method $method_disconnect_1;
    private static java.lang.reflect.Method $method_findService_2;
    private static java.lang.reflect.Method $method_findServices_3;
    private static java.lang.reflect.Method $method_getMaxInactiveInterval_4;
    private static java.lang.reflect.Method $method_keepAlive_5;
    private static java.lang.reflect.Method $method_setMaxInactiveInterval_6;
    
    static {
	try {
	    $method_authenticate_0 = org.huihoo.willow.client.Naming.class.getMethod("authenticate", new java.lang.Class[] {java.lang.String.class, java.lang.String.class});
	    $method_disconnect_1 = org.huihoo.willow.client.Naming.class.getMethod("disconnect", new java.lang.Class[] {java.lang.String.class});
	    $method_findService_2 = org.huihoo.willow.client.Naming.class.getMethod("findService", new java.lang.Class[] {java.lang.String.class, java.lang.String.class});
	    $method_findServices_3 = org.huihoo.willow.client.Naming.class.getMethod("findServices", new java.lang.Class[] {java.lang.String.class});
	    $method_getMaxInactiveInterval_4 = org.huihoo.willow.client.Naming.class.getMethod("getMaxInactiveInterval", new java.lang.Class[] {java.lang.String.class});
	    $method_keepAlive_5 = org.huihoo.willow.client.Naming.class.getMethod("keepAlive", new java.lang.Class[] {java.lang.String.class});
	    $method_setMaxInactiveInterval_6 = org.huihoo.willow.client.Naming.class.getMethod("setMaxInactiveInterval", new java.lang.Class[] {java.lang.String.class, int.class});
	} catch (java.lang.NoSuchMethodException e) {
	    throw new java.lang.NoSuchMethodError(
		"stub class initialization failed");
	}
    }
    
    // constructors
    public NamingImpl_Stub(java.rmi.server.RemoteRef ref) {
	super(ref);
    }
    
    // methods from remote interfaces
    
    // implementation of authenticate(String, String)
    public java.lang.String authenticate(java.lang.String $param_String_1, java.lang.String $param_String_2)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_authenticate_0, new java.lang.Object[] {$param_String_1, $param_String_2}, -3388743342204244461L);
	    return ((java.lang.String) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of disconnect(String)
    public void disconnect(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    ref.invoke(this, $method_disconnect_1, new java.lang.Object[] {$param_String_1}, 1113063878920970388L);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of findService(String, String)
    public workflow.live.LiveService findService(java.lang.String $param_String_1, java.lang.String $param_String_2)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_findService_2, new java.lang.Object[] {$param_String_1, $param_String_2}, -1928693163290313391L);
	    return ((workflow.live.LiveService) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of findServices(String)
    public workflow.live.LiveService[] findServices(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_findServices_3, new java.lang.Object[] {$param_String_1}, 706780692531710039L);
	    return ((workflow.live.LiveService[]) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of getMaxInactiveInterval(String)
    public int getMaxInactiveInterval(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_getMaxInactiveInterval_4, new java.lang.Object[] {$param_String_1}, 8438507835432469960L);
	    return ((java.lang.Integer) $result).intValue();
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of keepAlive(String)
    public void keepAlive(java.lang.String $param_String_1)
	throws java.rmi.RemoteException
    {
	try {
	    ref.invoke(this, $method_keepAlive_5, new java.lang.Object[] {$param_String_1}, 2220616670346416616L);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
    
    // implementation of setMaxInactiveInterval(String, int)
    public void setMaxInactiveInterval(java.lang.String $param_String_1, int $param_int_2)
	throws java.rmi.RemoteException
    {
	try {
	    ref.invoke(this, $method_setMaxInactiveInterval_6, new java.lang.Object[] {$param_String_1, new java.lang.Integer($param_int_2)}, -5002363333105801141L);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
}
