|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectxdev.Device
xdev.mxdev.MXDevice
public class MXDevice
| Field Summary |
|---|
| Fields inherited from class xdev.Device |
|---|
ANY_SOURCE, ANY_SRC, ANY_TAG, deviceName |
| Constructor Summary | |
|---|---|
MXDevice()
|
|
| Method Summary | |
|---|---|
void |
finish()
This method shutdowns the device. |
int |
getRecvOverhead()
|
int |
getSendOverhead()
|
ProcessID |
id()
This method returns the id of the current process |
ProcessID[] |
init(java.lang.String[] args)
Initialize the xdev device. |
Status |
iprobe(ProcessID srcID,
int tag,
int context)
This method is the non-blocking probe. |
Request |
irecv(Buffer buf,
ProcessID srcID,
int tag,
int context,
Status status)
This method is the non-blocking recv. |
Request |
isend(Buffer buf,
ProcessID dstID,
int tag,
int context)
This method is the non-blocking send using standard-mode. |
Request |
issend(Buffer buf,
ProcessID dstID,
int tag,
int context)
This method is the non-blocking send using synchronous-mode. |
Request |
peek()
|
Status |
probe(ProcessID srcID,
int tag,
int context)
This method is the blocking probe. |
Status |
recv(Buffer buf,
ProcessID srcID,
int tag,
int context)
This method is the blocking recv. |
void |
send(Buffer buf,
ProcessID dstID,
int tag,
int context)
This method is the blocking send using standard-mode. |
void |
ssend(Buffer buf,
ProcessID dstID,
int tag,
int context)
This method is the blocking send using synchronous-mode. |
| Methods inherited from class xdev.Device |
|---|
newInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MXDevice()
| Method Detail |
|---|
public ProcessID[] init(java.lang.String[] args)
throws XDevException
Device
init in class Deviceargs - Argument array.
XDevException - If there is an error initializing the devicepublic int getSendOverhead()
getSendOverhead in class Devicepublic int getRecvOverhead()
getRecvOverhead in class Devicepublic ProcessID id()
Device
id in class Device
public void finish()
throws XDevException
Device
finish in class DeviceXDevException
public Request isend(Buffer buf,
ProcessID dstID,
int tag,
int context)
throws XDevException
Device
isend in class Devicebuf - mpjbuf.Buffer object containing the datadstID - ProcessID of the destination processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public void send(Buffer buf,
ProcessID dstID,
int tag,
int context)
throws XDevException
Device
send in class Devicebuf - mpjbuf.Buffer object containing the datadstID - ProcessID of the destination processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public Request issend(Buffer buf,
ProcessID dstID,
int tag,
int context)
throws XDevException
Device
issend in class Devicebuf - mpjbuf.Buffer object containing the datadstID - ProcessID of the destination processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public void ssend(Buffer buf,
ProcessID dstID,
int tag,
int context)
throws XDevException
Device
ssend in class Devicebuf - mpjbuf.Buffer object containing the datadstID - ProcessID of the destination processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public Status recv(Buffer buf,
ProcessID srcID,
int tag,
int context)
throws XDevException
Device
recv in class Devicebuf - mpjbuf.Buffer object containing the datasrcID - ProcessID of the source processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public Request irecv(Buffer buf,
ProcessID srcID,
int tag,
int context,
Status status)
throws XDevException
Device
irecv in class Devicebuf - mpjbuf.Buffer object containing the datasrcID - ProcessID of the source processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.status - A mpjdev.Status object initialized
at mpjdev/MPJ level.
XDevException - If there is an exception. The specific exception
depends on the device.
public Status probe(ProcessID srcID,
int tag,
int context)
throws XDevException
Device
probe in class DevicesrcID - ProcessID of the source processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public Status iprobe(ProcessID srcID,
int tag,
int context)
throws XDevException
Device
iprobe in class DevicesrcID - ProcessID of the source processtag - An integer representing the tag (id) of the messagecontext - An integer specifying context.
XDevException - If there is an exception. The specific exception
depends on the device.
public Request peek()
throws XDevException
peek in class DeviceXDevException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||