- Table of contents
- PMH
- Directories description
- Use case for external (or not) application
PMH¶
PMH Stands for Posix Memory Handler. This package should be used to interconnect on the host level all the processes which are needing to put memory in common.
Directories description¶
PMH files can be found in a DCOD workspace under directory ddp/pmh
Directories organization¶
- Some generated directories
- bin
- lib
- obj_*
- src
- lib
- used for libbuffers.so
- main
- used for the PMH stand alone code
- soap_server
- codes used for the PMH stand alone code, generated by :
- wsdl2aws -f -nostub wsdl/dcod_pmh.wsdl
- codes used for the PMH stand alone code, generated by :
- tests
- contains the tests code for the libbuffers, mailboxes, shared buffers
- lib
- wsdl
- Contains the pmh wsdl contract
Files organization of ddp/pmh¶
- dcod_pmh.css
- css used by the pmh AWS web server
- should be moved in an http related directory
- GNUmakefile
- available build targets :
- build_tests
- bin/posix_memory_handler_stand_alone
- available build targets :
- GNUmakefile.buffers.mk
- used to build libbuffers.so
- provides buffers API
- Project files
- pmh_standalone.gpr
- needed to build pmh server
- tests.gpr
- needed to build near all tests
- tests_soap.gpr
- needed to build pmh_soap_shell
- pmh_standalone.gpr
Use case for external (or not) application¶
Case 1 : I provide data to DCOD infrastructure¶
Step 1 : Looking for PMH access
Error : PMH not available
Step 2 : Subscribing as a provider for buffer named NAME
Error : Buffer named NAME already exists in the global system
Step 3 : Providing specific information (buffer size, management politic, ...)
Case 2 : I access to data from DCOD infrastructure¶
Step 1 : Looking for PMH access
Error : PMH not available
Step 2 : Subscribing as a client for buffer named NAME
Error : Buffer named NAME doesn't exists in the global system