package org.omg.CosTransactions;

/**
 * CoordinatorOperations Type Class generated by the Idl2Java Compiler 3.1 of Jonathan
 */




public interface CoordinatorOperations extends org.omg.CORBA.portable.IDLEntity {


	public org.omg.CosTransactions.Status get_status();
	public org.omg.CosTransactions.Status get_parent_status();
	public org.omg.CosTransactions.Status get_top_level_status();
	public boolean is_same_transaction(org.omg.CosTransactions.Coordinator tc);
	public boolean is_related_transaction(org.omg.CosTransactions.Coordinator tc);
	public boolean is_ancestor_transaction(org.omg.CosTransactions.Coordinator tc);
	public boolean is_descendant_transaction(org.omg.CosTransactions.Coordinator tc);
	public boolean is_top_level_transaction();
	public int hash_transaction();
	public int hash_top_level_tran();
	public org.omg.CosTransactions.RecoveryCoordinator register_resource(org.omg.CosTransactions.Resource r) throws org.omg.CosTransactions.Inactive;
	public void register_synchronization(org.omg.CosTransactions.Synchronization sync) throws org.omg.CosTransactions.Inactive,org.omg.CosTransactions.SynchronizationUnavailable;
	public void register_subtran_aware(org.omg.CosTransactions.SubtransactionAwareResource r) throws org.omg.CosTransactions.Inactive,org.omg.CosTransactions.NotSubtransaction;
	public void rollback_only() throws org.omg.CosTransactions.Inactive;
	public String get_transaction_name();
	public org.omg.CosTransactions.Control create_subtransaction() throws org.omg.CosTransactions.SubtransactionsUnavailable,org.omg.CosTransactions.Inactive;
	public org.omg.CosTransactions.PropagationContext get_txcontext() throws org.omg.CosTransactions.Unavailable;
}
