actor-framework / actor-framework/incubator

Rename Transport/Application API

オープン
#80 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
refactoring
主要言語
C++
スター
7
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

説明

We should think about using more general naming for the transport and application protocol APIs. The Application layer is using a message-oriented communication model while the transport layer is using all different types depending on the transport protocol in use.
Hence, it would be more clear to rename `write_packet` in the transport abstraction to something more general such as `send` with some clear documentation about the underlying model (`UDP`->packet, `SCTP`->message, `TCP`->stream).
The same goes for `handle_data` in the application abstraction, which could be renamed to something along the lines of `receive`.

Do you have an opinion on that @Neverlord @josephnoir ?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。