public class Status
extends java.lang.Object
MPI_STATUS
.Modifier and Type | Field and Description |
---|---|
int |
count |
int |
index
For a `waitany()' operation in class `Request'.
|
boolean |
isBufferComms |
int |
numEls |
int |
source
For a receive operation, the source of the message.
|
int |
tag
For a receive operation, the tag in the message.
|
mpjbuf.Type |
type |
Constructor and Description |
---|
Status() |
Status(boolean isBufferComms) |
Status(int source,
int tag,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
free()
Frees a freeable object.
|
int |
getCount(Datatype datatype)
Get the number of received entries.
|
int |
getElements(Datatype datatype)
Retrieve number of basic elements from status.
|
int |
getIndex() |
int |
getSource() |
int |
getTag() |
boolean |
isCancelled()
Test if communication was cancelled.
|
public int source
public int tag
public int index
This field defines which communication in the `reqs' array was selected.
public int count
public int numEls
public mpjbuf.Type type
public boolean isBufferComms
public Status()
public Status(boolean isBufferComms)
public Status(int source, int tag, int index)
public int getCount(Datatype datatype) throws MPIException
datatype
- datatype of each item in receive buffer.Java binding of the MPI operation MPI_GET_COUNT
.
MPIException
- Points out that an MPI exception has occured.public int getSource()
public int getTag()
public int getIndex()
public boolean isCancelled() throws MPIException
true
if the operation was successfully cancelled,
otherwise false
.
Java binding of the MPI operation MPI_TEST_CANCELLED
.
MPIException
- Points out that an MPI exception has occured.public void free()
public int getElements(Datatype datatype) throws MPIException
datatype
- datatype used by receive operation.Java binding of the MPI operation MPI_GET_ELEMENTS
.
MPIException
- Points out that an MPI exception has occured.