| |
Molssi Driver Interface Library
|
Go to the documentation of this file.
19 int test_send(
const void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm,
int msg_flag);
20 int test_recv(
void* buf,
int count, MDI_Datatype datatype, MDI_Comm comm,
int msg_flag);
int test_on_send_command(const char *command, MDI_Comm comm, int *skip_flag)
Callback when the TEST method must send a command.
Definition: mdi_test.c:95
int test_on_accept_communicator()
Callback when the TEST method must accept a communicator.
Definition: mdi_test.c:65
int enable_test_support(int code_id)
Enable support for the TEST method.
Definition: mdi_test.c:16
int test_on_selection()
Callback when the end-user selects TCP as the method.
Definition: mdi_test.c:41
int test_recv(void *buf, int count, MDI_Datatype datatype, MDI_Comm comm, int msg_flag)
Dummy function to handle receiving data through an MDI connection, for testing purposes.
Definition: mdi_test.c:195
int test_send(const void *buf, int count, MDI_Datatype datatype, MDI_Comm comm, int msg_flag)
Dummy function to handle sending data through an MDI connection, for testing purposes.
Definition: mdi_test.c:167
int test_on_recv_command(MDI_Comm comm)
Callback when the TEST method must receive a command.
Definition: mdi_test.c:114
int test_initialize()
Perform initialization of a dummy communicator for testing purposes.
Definition: mdi_test.c:123
int test_after_send_command(const char *command, MDI_Comm comm)
Callback after the TEST method has received a command.
Definition: mdi_test.c:102