libmuscle.mpp_client module¶
- class libmuscle.mpp_client.MPPClient(locations: List[str])[source]¶
Bases:
object
A client that connects to an MPP server.
This client connects to a peer to retrieve messages. It uses an MCP Transport to connect.
Create an MPPClient for the given peer.
The client will connect to the peer on one of its locations. It tries the most efficient protocol first. Once connected, it can request messages from any component and port represented by it.
- Parameters
locations – The peer’s location strings