OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [transaction/] [xa/] [XAResource.h] - Rev 759

Compare with Previous | Blame | View Log

 
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
 
#ifndef __javax_transaction_xa_XAResource__
#define __javax_transaction_xa_XAResource__
 
#pragma interface
 
#include <java/lang/Object.h>
#include <gcj/array.h>
 
extern "Java"
{
  namespace javax
  {
    namespace transaction
    {
      namespace xa
      {
          class XAResource;
          class Xid;
      }
    }
  }
}
 
class javax::transaction::xa::XAResource : public ::java::lang::Object
{
 
public:
  virtual void commit(::javax::transaction::xa::Xid *, jboolean) = 0;
  virtual void end(::javax::transaction::xa::Xid *, jint) = 0;
  virtual void forget(::javax::transaction::xa::Xid *) = 0;
  virtual jint getTransactionTimeout() = 0;
  virtual jboolean isSameRM(::javax::transaction::xa::XAResource *) = 0;
  virtual jint prepare(::javax::transaction::xa::Xid *) = 0;
  virtual JArray< ::javax::transaction::xa::Xid * > * recover(jint) = 0;
  virtual void rollback(::javax::transaction::xa::Xid *) = 0;
  virtual jboolean setTransactionTimeout(jint) = 0;
  virtual void start(::javax::transaction::xa::Xid *, jint) = 0;
  static const jint TMENDRSCAN = 8388608;
  static const jint TMFAIL = 536870912;
  static const jint TMJOIN = 2097152;
  static const jint TMNOFLAGS = 0;
  static const jint TMONEPHASE = 1073741824;
  static const jint TMRESUME = 134217728;
  static const jint TMSTARTRSCAN = 16777216;
  static const jint TMSUCCESS = 67108864;
  static const jint TMSUSPEND = 33554432;
  static const jint XA_RDONLY = 3;
  static const jint XA_OK = 0;
  static ::java::lang::Class class$;
} __attribute__ ((java_interface));
 
#endif // __javax_transaction_xa_XAResource__
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.