Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在测试项目tcpStressTest中我如何构建一个对象用来发送自定义的消息? #21

Open
a3396616601 opened this issue Mar 3, 2019 · 1 comment

Comments

@a3396616601
Copy link

左思右想 没搞清楚!因为测试项目发送消息都是在Cclient对象内部!假设我输入一个“hello” 想用发送出去!看上去基本不太可能 因为没有任何办法获取 client对象!也没法获取要发送的对象!。。。。这个问题该如何解决呢。关注这个项目很久了 !请伟哥帮忙看看!谢谢啦。 这个特别棘手!

@a3396616601
Copy link
Author

我想了一下!大概应该把 Process类,以及 Schedule 封装到 client类中这样方便操作呢?不然的话发送消息要用到client类的onsend函数 。。。我先尝试一下能不能写到一个类里面吧 新手,可能问题比较幼稚!大神勿喷。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant