/*****************************************************
 * jr generated file
 ****************************************************/
import java.rmi.*;
import edu.ucdavis.jr.*;
import edu.ucdavis.jr.jrx.*;
import java.rmi.*;
import java.io.Serializable;

public interface Op_voidTovoid
  extends Op
{
    public void call(long JRtimestamp) throws java.rmi.RemoteException
;
    public Cap_voidTovoid cocall(long JRtimestamp) throws java.rmi.RemoteException
;
    public Cap_voidTovoid cocall(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler, Cap_voidTovoid fretOp) throws java.rmi.RemoteException;
    public void send(long JRtimestamp) throws java.rmi.RemoteException;
    public void send(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler) throws java.rmi.RemoteException;
    public void send(long JRtimestamp, Op_voidTovoid.JRProxyOp retOp, edu.ucdavis.jr.RemoteHandler handler, Exception thrown) throws java.rmi.RemoteException;
    public Cap_voidTovoid cosend(long JRtimestamp) throws java.rmi.RemoteException;
    public Cap_voidTovoid cosend(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler) throws java.rmi.RemoteException;
    public Cap_voidTovoid cosend(long JRtimestamp, Exception thrown) throws java.rmi.RemoteException;
    public Cap_voidTovoid cosend(long JRtimestamp, Op_voidTovoid.JRProxyOp retOp, edu.ucdavis.jr.RemoteHandler handler, Exception thrown) throws java.rmi.RemoteException;
    public Recv_voidTovoid recv() throws java.rmi.RemoteException;
    public static class JRProxyOp
	implements ProxyOp
    {
	Op_voidTovoid theop;
	public JRProxyOp(Op_voidTovoid theop)
	{
	    this.theop = theop;
	}
	public final void call(long JRtimestamp)

	{
	    jrvm.sendAndDie();
	    try {
		this.theop.call(JRtimestamp);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	    finally {
		jrvm.ariseAndReceive();
	    }
	}
	public final Cap_voidTovoid cocall(long JRtimestamp)

	{
	    jrvm.sendAndDie();
	    try {
		return this.theop.cocall(JRtimestamp);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	    finally {
		jrvm.ariseAndReceive();
	    }
	}
	public final Cap_voidTovoid cocall(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler, Cap_voidTovoid fretOp)
	{
	    jrvm.sendAndDie();
	    try {
		return this.theop.cocall(JRtimestamp, handler, fretOp);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	    finally {
		jrvm.ariseAndReceive();
	    }
	}
	public final void send(long JRtimestamp)
	{
	    try {
	    this.theop.send(JRtimestamp);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final void send(long JRtimestamp, Exception thrown)
	{
	    try {
	    this.theop.send(JRtimestamp, thrown);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final void send(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler)
	{
	    try {
	    this.theop.send(JRtimestamp, handler);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final void send(long JRtimestamp, Op_voidTovoid.JRProxyOp retOp, edu.ucdavis.jr.RemoteHandler handler, Exception thrown)
	{
	    try {
	    this.theop.send(JRtimestamp, retOp, handler, thrown);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Cap_voidTovoid cosend(long JRtimestamp)
	{
	    try {
	    return this.theop.cosend(JRtimestamp);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Cap_voidTovoid cosend(long JRtimestamp, Exception thrown)
	{
	    try {
	    return this.theop.cosend(JRtimestamp, thrown);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Cap_voidTovoid cosend(long JRtimestamp, edu.ucdavis.jr.RemoteHandler handler)
	{
	    try {
	    return this.theop.cosend(JRtimestamp, handler);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Cap_voidTovoid cosend(long JRtimestamp, Op_voidTovoid.JRProxyOp retOp, edu.ucdavis.jr.RemoteHandler handler, Exception thrown)
	{
	    try {
	    return this.theop.cosend(JRtimestamp, retOp, handler, thrown);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Recv_voidTovoid recv()
	{
	    try {
	    return this.theop.recv();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final int length()
	{
	    try {
	    return this.theop.length();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final InLock getLock()
	{
	    try {
	    return this.theop.getLock();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final long getFirstTime()
	{
	    try {
	    return this.theop.getFirstTime();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final Object getOp()
	{
	    return this.theop;
	}
	public final InOpIterator elements()
	{
	    try {
	    return this.theop.elements();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final boolean isRemote(String site)
	{
	    try {
	    return this.theop.isRemote(site);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final void delete()
	{
	    try {
	    this.theop.delete();
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
	public final void delete(boolean reg)
	{
	    try {
	    this.theop.delete(reg);
	    } catch (RemoteException e) { throw new edu.ucdavis.jr.jrCommunicationException(e); }
	}
    }
}
