public final class Message
extends java.lang.Object
MPI_Message
.Modifier and Type | Field and Description |
---|---|
protected long |
handle |
Constructor and Description |
---|
Message()
Creates a
MPI_MESSAGE_NULL . |
Modifier and Type | Method and Description |
---|---|
Status |
imProbe(int source,
int tag,
Comm comm)
Java binding of
MPI_IMPROBE . |
Request |
imRecv(java.nio.Buffer buf,
int count,
Datatype type)
Java binding of
MPI_IMRECV . |
boolean |
isNoProc()
Tests if the message is
MPI_MESSAGE_NO_PROC . |
boolean |
isNull()
Tests if the message is
MPI_MESSAGE_NULL . |
Status |
mProbe(int source,
int tag,
Comm comm)
Java binding of
MPI_MPROBE . |
Status |
mRecv(java.lang.Object buf,
int count,
Datatype type)
Java binding of
MPI_MRECV . |
public boolean isNull()
MPI_MESSAGE_NULL
.MPI_MESSAGE_NULL
.public boolean isNoProc()
MPI_MESSAGE_NO_PROC
.MPI_MESSAGE_NO_PROC
.public Status mProbe(int source, int tag, Comm comm) throws MPIException
MPI_MPROBE
.source
- rank of the sourcetag
- message tagcomm
- communicatorMPIException
- Signals that an MPI error of some sort has occurred.public Status imProbe(int source, int tag, Comm comm) throws MPIException
MPI_IMPROBE
.source
- rank of the sourcetag
- message tagcomm
- communicatornull
otherwiseMPIException
- Signals that an MPI error of some sort has occurred.public Status mRecv(java.lang.Object buf, int count, Datatype type) throws MPIException
MPI_MRECV
.buf
- receive buffercount
- number of elements in receive buffertype
- datatype of each receive buffer elementMPIException
- Signals that an MPI error of some sort has occurred.public Request imRecv(java.nio.Buffer buf, int count, Datatype type) throws MPIException
MPI_IMRECV
.buf
- receive buffercount
- number of elements in receive buffertype
- datatype of each receive buffer elementMPIException
- Signals that an MPI error of some sort has occurred.