你现在是在调试过程,程序并没有做为服务运行,那么服务线程(ServiceThread)应该都还没启动,而这个事件事实上是由服务线程(ServiceThread)的Execute来激发的。当然不会执行。
基于10个网页-相关网页
实现更加复杂,必须创建客户线程与服务线程间的协议。
More complex implementation, a protocol must be created between clients and server.
这将导致MDB使用消息侦听器服务线程池中的两个线程来处理消息。
This causes the MDB to use two threads from the message listener service thread pool to process the messages.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
应用推荐