org.objectweb.jotm
Interface Terminator

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ControlImpl

public interface Terminator
extends java.rmi.Remote

OTS-like Terminator

Version:
$Id: Terminator.java,v 1.7 2003/12/10 20:06:26 trentshue Exp $
Author:
jmesnil
See Also:
OTS Terminator

Method Summary
 void commit(boolean report_heuristics)
          commit the transaction.
 void rollback()
          rollback the transaction.
 

Method Detail

commit

public void commit(boolean report_heuristics)
            throws java.rmi.RemoteException
commit the transaction.

Parameters:
report_heuristics - true to report heuristics, false else
Throws:
java.rmi.RemoteException - if a remote exception occurs

rollback

public void rollback()
              throws java.rmi.RemoteException
rollback the transaction.

Throws:
java.rmi.RemoteException - if a remote exception occurs