Molssi Driver Interface Library: communicator_struct Struct Reference

|  | Molssi Driver Interface Library

Public Attributes | List of all members
communicator_struct Struct Reference

## Public Attributes
int | mdi_version [3]
| The MDI version of the connected code.
vector * | nodes
| The nodes supported by the connected code.
void * | method_data
| Method-specific information for this communicator.
int(* | send )(const void *, int, MDI_Datatype_Type, MDI_Comm_Type, int)
| Function pointer for method-specific send operations.
int(* | recv )(void *, int, MDI_Datatype_Type, MDI_Comm_Type, int)
| Function pointer for method-specific receive operations.
int(* | delete )(void *)
| Function pointer for method-specific deletion operations.
size_t | code_id
| Handle for the id of the associated code.
sock_t | sockfd
| For communicators using the TCP communicatiom method, the socket descriptor (WINDOWS)
int | method_id
| Communication method used by this communicator.
MDI_Comm_Type | id
| MDI_Comm handle that corresponds to this communicator.
int | is_accepted
| Indicate whether this communicator has been accepted yet.
int | name_length
| The value of MDI_NAME_LENGTH for the connected code.
int | command_length
| The value of MDI_COMMAND_LENGTH for the connected code.

The documentation for this struct was generated from the following file:

- /repo/build/MDI_Library/MDI_Library/mdi_global.h