Skip to content
Success

Changes

Summary

  1. sctp_server: make it abstract from sctp_proxy logic (details)
Commit 8d2578441dc3869ed25d1952448785836096a8cd by Vadim Yanitskiy
sctp_server: make it abstract from sctp_proxy logic

Instead of using the sctp_proxy API directly, let the caller pass
a module name (handler), which implements the sctp_client behavior.

This makes the interaction between modules cleaner, allows to reuse
the sctp_server module in other places, and makes testing easier.

Change-Id: Iee4202dd4d4e9762fe74ead985aa43343ebdc524
The file was modifiedsrc/sctp_server.erl
The file was modifiedsrc/osmo_s1gw_sup.erl
The file was modifiedsrc/sctp_proxy.erl
The file was modifiedsrc/sctp_client.erl