# Module cpg_node_monitor

- Description
- Data Types
- Function Index
- Function Details

### CPG Remote Node Monitor Process.

Handle remote node pid monitors to reduce the messages the cpg scope process needs to manage.

Copyright © 2017-2020 Michael Truog

Version: 1.8.1 Nov 26 2020 15:22:42 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog at protonmail dot com`).

## Description

### CPG Remote Node Monitor Process.

Handle remote node pid monitors to reduce the messages the cpg scope process needs to manage.

## Data Types

### process()

`process() = pid()`

## Function Index

add/2 |
code_change/3 |
died/1 |
handle_call/3 |
handle_cast/2 |
handle_info/2 |
init/1 |
remove/2 |
start_link/1 |
stop_link/1 |
terminate/2 |

## Function Details

### add/2

`add(Process::process(), Pid::pid()) -> ok`

### code_change/3

`code_change(X1, State, X3) -> any()`

### died/1

`died(Process::process()) -> {[pid()], [[{pid(), {exit, any()}}, ...]]}`

### handle_call/3

`handle_call(Request, X2, State) -> any()`

### handle_cast/2

`handle_cast(Request, State) -> any()`

### handle_info/2

`handle_info(DOWN, State) -> any()`

### init/1

`init(X1) -> any()`

### remove/2

`remove(Process::process(), Pid::pid()) -> ok`

### start_link/1

`start_link(Pid::pid()) -> {ok, pid()} | {error, any()}`

### stop_link/1

`stop_link(Process::process()) -> ok`

### terminate/2

`terminate(X1, State) -> any()`

Generated by EDoc