org.objectweb.jotm
Interface Terminator

All Superinterfaces:
Remote
All Known Implementing Classes:
ControlImpl

public interface Terminator
extends Remote

OTS-like Terminator

Version:
$Id: Terminator.java,v 1.4 2003/04/17 14:27:09 jmesnil 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 RemoteException
commit the transaction.

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

rollback

public void rollback()
              throws RemoteException
rollback the transaction.

Throws:
RemoteException - if a remote exception occurs