用示例代码转至目录,运行发送方和接收方程序。
Go to the directory with the sample code, and run the sender and receiver.
我们需要确定的第一件事情就是代理是否运行,或是否代理已运行但没有发送消息。
The first thing we need to determine is whether the agent did not run, or whether the agent ran but the messages were not sent.
Sender:这是线程池中正在运行的用于发送请求消息的线程。
Sender: This is a running thread from a thread pool to send the request messages.
应用推荐