Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Attributes
nordugrid.arc.DataBuffer Class Reference

List of all members.

Public Member Functions

synchronized void delete ()
void setSpeed (DataSpeed value)
DataSpeed getSpeed ()
boolean toBool ()
 DataBuffer (long size, int blocks)
 DataBuffer (long size)
 DataBuffer ()
 DataBuffer (SWIGTYPE_p_Arc__CheckSum cksum, long size, int blocks)
 DataBuffer (SWIGTYPE_p_Arc__CheckSum cksum, long size)
 DataBuffer (SWIGTYPE_p_Arc__CheckSum cksum)
boolean set (SWIGTYPE_p_Arc__CheckSum cksum, long size, int blocks)
boolean set (SWIGTYPE_p_Arc__CheckSum cksum, long size)
boolean set (SWIGTYPE_p_Arc__CheckSum cksum)
boolean set ()
int add (SWIGTYPE_p_Arc__CheckSum cksum)
boolean for_read (SWIGTYPE_p_int handle, SWIGTYPE_p_unsigned_int length, boolean wait)
boolean for_read ()
boolean is_read (int handle, long length, java.math.BigInteger offset)
boolean is_read (String buf, long length, java.math.BigInteger offset)
boolean for_write (SWIGTYPE_p_int handle, SWIGTYPE_p_unsigned_int length, SWIGTYPE_p_unsigned_long_long offset, boolean wait)
boolean for_write ()
boolean is_written (int handle)
boolean is_written (String buf)
boolean is_notwritten (int handle)
boolean is_notwritten (String buf)
void eof_read (boolean v)
void eof_write (boolean v)
void error_read (boolean v)
void error_write (boolean v)
boolean eof_read ()
boolean eof_write ()
boolean error_read ()
boolean error_write ()
boolean error_transfer ()
boolean error ()
boolean wait_any ()
boolean wait_used ()
boolean checksum_valid ()
boolean checksum_valid (int index)
SWIGTYPE_p_Arc__CheckSum checksum_object ()
SWIGTYPE_p_Arc__CheckSum checksum_object (int index)
boolean wait_eof_read ()
boolean wait_read ()
boolean wait_eof_write ()
boolean wait_write ()
boolean wait_eof ()
java.math.BigInteger eof_position ()
long buffer_size ()

Protected Member Functions

 DataBuffer (long cPtr, boolean cMemoryOwn)
void finalize ()

Static Protected Member Functions

static long getCPtr (DataBuffer obj)

Protected Attributes

boolean swigCMemOwn

Private Attributes

long swigCPtr

Detailed Description

Definition at line 11 of file DataBuffer.java.


Constructor & Destructor Documentation

nordugrid.arc.DataBuffer.DataBuffer ( long  cPtr,
boolean  cMemoryOwn 
) [inline, protected]

Definition at line 15 of file DataBuffer.java.

                                                      {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }
nordugrid.arc.DataBuffer.DataBuffer ( long  size,
int  blocks 
) [inline]

Definition at line 49 of file DataBuffer.java.

                                           {
    this(arcJNI.new_DataBuffer__SWIG_0(size, blocks), true);
  }

Here is the call graph for this function:

nordugrid.arc.DataBuffer.DataBuffer ( long  size) [inline]

Definition at line 53 of file DataBuffer.java.

                               {
    this(arcJNI.new_DataBuffer__SWIG_1(size), true);
  }

Here is the call graph for this function:

Definition at line 57 of file DataBuffer.java.

                      {
    this(arcJNI.new_DataBuffer__SWIG_2(), true);
  }

Here is the call graph for this function:

nordugrid.arc.DataBuffer.DataBuffer ( SWIGTYPE_p_Arc__CheckSum  cksum,
long  size,
int  blocks 
) [inline]

Definition at line 61 of file DataBuffer.java.

                                                                           {
    this(arcJNI.new_DataBuffer__SWIG_3(SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum), size, blocks), true);
  }

Here is the call graph for this function:

Definition at line 65 of file DataBuffer.java.

                                                               {
    this(arcJNI.new_DataBuffer__SWIG_4(SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum), size), true);
  }

Here is the call graph for this function:

Definition at line 69 of file DataBuffer.java.

                                                    {
    this(arcJNI.new_DataBuffer__SWIG_5(SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum)), true);
  }

Here is the call graph for this function:


Member Function Documentation

Definition at line 89 of file DataBuffer.java.

                                                 {
    return arcJNI.DataBuffer_add(swigCPtr, this, SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum));
  }

Here is the call graph for this function:

Definition at line 223 of file DataBuffer.java.

                            {
    return arcJNI.DataBuffer_buffer_size(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 189 of file DataBuffer.java.

                                                    {
    long cPtr = arcJNI.DataBuffer_checksum_object__SWIG_0(swigCPtr, this);
    return (cPtr == 0) ? null : new SWIGTYPE_p_Arc__CheckSum(cPtr, false);
  }

Here is the call graph for this function:

Definition at line 194 of file DataBuffer.java.

                                                             {
    long cPtr = arcJNI.DataBuffer_checksum_object__SWIG_1(swigCPtr, this, index);
    return (cPtr == 0) ? null : new SWIGTYPE_p_Arc__CheckSum(cPtr, false);
  }

Here is the call graph for this function:

Definition at line 181 of file DataBuffer.java.

                                  {
    return arcJNI.DataBuffer_checksum_valid__SWIG_0(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.checksum_valid ( int  index) [inline]

Definition at line 185 of file DataBuffer.java.

                                           {
    return arcJNI.DataBuffer_checksum_valid__SWIG_1(swigCPtr, this, index);
  }

Here is the call graph for this function:

synchronized void nordugrid.arc.DataBuffer.delete ( ) [inline]

Definition at line 28 of file DataBuffer.java.

                                    {
    if(swigCPtr != 0 && swigCMemOwn) {
      swigCMemOwn = false;
      arcJNI.delete_DataBuffer(swigCPtr);
    }
    swigCPtr = 0;
  }

Here is the call graph for this function:

java.math.BigInteger nordugrid.arc.DataBuffer.eof_position ( ) [inline]

Definition at line 219 of file DataBuffer.java.

                                             {
    return arcJNI.DataBuffer_eof_position(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.DataBuffer.eof_read ( boolean  v) [inline]

Definition at line 133 of file DataBuffer.java.

                                  {
    arcJNI.DataBuffer_eof_read__SWIG_0(swigCPtr, this, v);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.eof_read ( ) [inline]

Definition at line 149 of file DataBuffer.java.

                            {
    return arcJNI.DataBuffer_eof_read__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.DataBuffer.eof_write ( boolean  v) [inline]

Definition at line 137 of file DataBuffer.java.

                                   {
    arcJNI.DataBuffer_eof_write__SWIG_0(swigCPtr, this, v);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.eof_write ( ) [inline]

Definition at line 153 of file DataBuffer.java.

                             {
    return arcJNI.DataBuffer_eof_write__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.error ( ) [inline]

Definition at line 169 of file DataBuffer.java.

                         {
    return arcJNI.DataBuffer_error(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.DataBuffer.error_read ( boolean  v) [inline]

Definition at line 141 of file DataBuffer.java.

                                    {
    arcJNI.DataBuffer_error_read__SWIG_0(swigCPtr, this, v);
  }

Here is the call graph for this function:

Definition at line 157 of file DataBuffer.java.

                              {
    return arcJNI.DataBuffer_error_read__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 165 of file DataBuffer.java.

                                  {
    return arcJNI.DataBuffer_error_transfer(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.DataBuffer.error_write ( boolean  v) [inline]

Definition at line 145 of file DataBuffer.java.

                                     {
    arcJNI.DataBuffer_error_write__SWIG_0(swigCPtr, this, v);
  }

Here is the call graph for this function:

Definition at line 161 of file DataBuffer.java.

                               {
    return arcJNI.DataBuffer_error_write__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

void nordugrid.arc.DataBuffer.finalize ( ) [inline, protected]

Definition at line 24 of file DataBuffer.java.

                            {
    delete();
  }
boolean nordugrid.arc.DataBuffer.for_read ( SWIGTYPE_p_int  handle,
SWIGTYPE_p_unsigned_int  length,
boolean  wait 
) [inline]

Definition at line 93 of file DataBuffer.java.

                                                                                               {
    return arcJNI.DataBuffer_for_read__SWIG_0(swigCPtr, this, SWIGTYPE_p_int.getCPtr(handle), SWIGTYPE_p_unsigned_int.getCPtr(length), wait);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.for_read ( ) [inline]

Definition at line 97 of file DataBuffer.java.

                            {
    return arcJNI.DataBuffer_for_read__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.for_write ( SWIGTYPE_p_int  handle,
SWIGTYPE_p_unsigned_int  length,
SWIGTYPE_p_unsigned_long_long  offset,
boolean  wait 
) [inline]

Definition at line 109 of file DataBuffer.java.

                                                                                                                                      {
    return arcJNI.DataBuffer_for_write__SWIG_0(swigCPtr, this, SWIGTYPE_p_int.getCPtr(handle), SWIGTYPE_p_unsigned_int.getCPtr(length), SWIGTYPE_p_unsigned_long_long.getCPtr(offset), wait);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.for_write ( ) [inline]

Definition at line 113 of file DataBuffer.java.

                             {
    return arcJNI.DataBuffer_for_write__SWIG_1(swigCPtr, this);
  }

Here is the call graph for this function:

static long nordugrid.arc.DataBuffer.getCPtr ( DataBuffer  obj) [inline, static, protected]

Definition at line 20 of file DataBuffer.java.

                                                {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

Here is the caller graph for this function:

Definition at line 40 of file DataBuffer.java.

                              {
    long cPtr = arcJNI.DataBuffer_speed_get(swigCPtr, this);
    return (cPtr == 0) ? null : new DataSpeed(cPtr, false);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_notwritten ( int  handle) [inline]

Definition at line 125 of file DataBuffer.java.

                                           {
    return arcJNI.DataBuffer_is_notwritten__SWIG_0(swigCPtr, this, handle);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_notwritten ( String  buf) [inline]

Definition at line 129 of file DataBuffer.java.

                                           {
    return arcJNI.DataBuffer_is_notwritten__SWIG_1(swigCPtr, this, buf);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_read ( int  handle,
long  length,
java.math.BigInteger  offset 
) [inline]

Definition at line 101 of file DataBuffer.java.

                                                                               {
    return arcJNI.DataBuffer_is_read__SWIG_0(swigCPtr, this, handle, length, offset);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_read ( String  buf,
long  length,
java.math.BigInteger  offset 
) [inline]

Definition at line 105 of file DataBuffer.java.

                                                                               {
    return arcJNI.DataBuffer_is_read__SWIG_1(swigCPtr, this, buf, length, offset);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_written ( int  handle) [inline]

Definition at line 117 of file DataBuffer.java.

                                        {
    return arcJNI.DataBuffer_is_written__SWIG_0(swigCPtr, this, handle);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.is_written ( String  buf) [inline]

Definition at line 121 of file DataBuffer.java.

                                        {
    return arcJNI.DataBuffer_is_written__SWIG_1(swigCPtr, this, buf);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.set ( SWIGTYPE_p_Arc__CheckSum  cksum,
long  size,
int  blocks 
) [inline]

Definition at line 73 of file DataBuffer.java.

                                                                            {
    return arcJNI.DataBuffer_set__SWIG_0(swigCPtr, this, SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum), size, blocks);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean nordugrid.arc.DataBuffer.set ( SWIGTYPE_p_Arc__CheckSum  cksum,
long  size 
) [inline]

Definition at line 77 of file DataBuffer.java.

                                                                {
    return arcJNI.DataBuffer_set__SWIG_1(swigCPtr, this, SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum), size);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 81 of file DataBuffer.java.

                                                     {
    return arcJNI.DataBuffer_set__SWIG_2(swigCPtr, this, SWIGTYPE_p_Arc__CheckSum.getCPtr(cksum));
  }

Here is the call graph for this function:

Here is the caller graph for this function:

boolean nordugrid.arc.DataBuffer.set ( ) [inline]

Definition at line 85 of file DataBuffer.java.

                       {
    return arcJNI.DataBuffer_set__SWIG_3(swigCPtr, this);
  }

Here is the call graph for this function:

Here is the caller graph for this function:

void nordugrid.arc.DataBuffer.setSpeed ( DataSpeed  value) [inline]

Definition at line 36 of file DataBuffer.java.

                                        {
    arcJNI.DataBuffer_speed_set(swigCPtr, this, DataSpeed.getCPtr(value), value);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.toBool ( ) [inline]

Definition at line 45 of file DataBuffer.java.

                          {
    return arcJNI.DataBuffer_toBool(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.wait_any ( ) [inline]

Definition at line 173 of file DataBuffer.java.

                            {
    return arcJNI.DataBuffer_wait_any(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.wait_eof ( ) [inline]

Definition at line 215 of file DataBuffer.java.

                            {
    return arcJNI.DataBuffer_wait_eof(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 199 of file DataBuffer.java.

                                 {
    return arcJNI.DataBuffer_wait_eof_read(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 207 of file DataBuffer.java.

                                  {
    return arcJNI.DataBuffer_wait_eof_write(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.wait_read ( ) [inline]

Definition at line 203 of file DataBuffer.java.

                             {
    return arcJNI.DataBuffer_wait_read(swigCPtr, this);
  }

Here is the call graph for this function:

boolean nordugrid.arc.DataBuffer.wait_used ( ) [inline]

Definition at line 177 of file DataBuffer.java.

                             {
    return arcJNI.DataBuffer_wait_used(swigCPtr, this);
  }

Here is the call graph for this function:

Definition at line 211 of file DataBuffer.java.

                              {
    return arcJNI.DataBuffer_wait_write(swigCPtr, this);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 13 of file DataBuffer.java.

Definition at line 12 of file DataBuffer.java.


The documentation for this class was generated from the following file: