简体   繁体   English

Akka 2.3.6中缺少IOManager

[英]Missing IOManager in Akka 2.3.6

Hi I searched the documentation and the migration page, but I was not able to find the replacement or a explanation what actually happened to IOManager since akka 2.2.4?! 嗨,我搜索了文档和迁移页面,但是我找不到替换或解释,因为akka 2.2.4以来IOManager实际发生了什么?!

Any help appreciated. 任何帮助表示赞赏。 Thanks! 谢谢!

I believe that using the IOManager directly was deprecated at some point in 2.2. 我相信在2.2中的某个时候不IOManager直接使用IOManager If you look at the scala docs for that class all of the methods instruct you to use the new system in the akka.io package. 如果您查看该类的scala文档,则所有方法都会指示您使用akka.io软件包中的新系统。 I believe they went this way to give you the ability to use I/O with different protocols (TCP, UDP) by passing the right extension into the akka.io.IO.apply 我相信他们通过这种方式将正确的扩展名传递给akka.io.IO.apply ,从而使您能够使用具有不同协议(TCP,UDP)的I / O

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM