mpi
Class Status

java.lang.Object
  |
  +--mpi.Freeable
        |
        +--mpi.Status

public class Status
extends mpi.Freeable


Field Summary
protected  long handle
           
 int index
           
protected  int object_count
           
 int source
           
 int tag
           
 
Constructor Summary
Status()
           
 
Method Summary
 void finalize()
           
 int Get_count(Datatype datatype)
          Get the number of received entries.
 int Get_elements(Datatype datatype)
          Retrieve number of basic elements from status.
 boolean Test_cancelled()
          Test if communication was cancelled.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index

source

public int source

tag

public int tag

object_count

protected int object_count

handle

protected long handle
Constructor Detail

Status

public Status()
Method Detail

finalize

public void finalize()
              throws MPIException
Overrides:
finalize in class java.lang.Object
MPIException

Get_count

public int Get_count(Datatype datatype)
              throws MPIException
Get the number of received entries.

datatype datatype of each item in receive buffer
returns: number of received entries

Java binding of the MPI operation MPI_GET_COUNT.

MPIException

Test_cancelled

public boolean Test_cancelled()
                       throws MPIException
Test if communication was cancelled.

returns: true if the operation was succesfully cancelled, false otherwise

Java binding of the MPI operation MPI_TEST_CANCELLED.

MPIException

Get_elements

public int Get_elements(Datatype datatype)
                 throws MPIException
Retrieve number of basic elements from status.

datatype datatype used by receive operation
returns: number of received basic elements

Java binding of the MPI operation MPI_GET_ELEMENTS.

MPIException