Skip to content
Success

Changes

Summary

  1. sctp_server: make it abstract from sctp_proxy logic (details)
Commit ddfd4f26dfd363a008166b66ffe2a31a574ef4d2 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_client.erl
The file was modifiedsrc/sctp_server.erl
The file was modifiedsrc/sctp_proxy.erl
The file was modifiedsrc/osmo_s1gw_sup.erl