|
|
|
|||||
|
HI marc:
I have tested that oneway method almost 80% quickly than twoway, could you add oneway option in AMI and AMD in furture? beacuse with TCP/IP, It has high reliable transfer. I think we would need more and more speed in many place(eg. in telecom), not only stable |
|
|||||
|
HI marc:
Thanks for your response, but I have another question of AMI . I think AMI should implment as oneway call, why? I think AMI shoul send data in one thread, and it will quickly return , and another thread receive data from server and call callback function. it's mean send data and receive data thread must be two thread , not one thread , if you only have one thread to send and receive data,when you sent data and wait for receive data and when you received data ,then invoke callback function, I think that it's not asynchronous invoke, it's maybe synchronous invoke? is it right? I have printed out the thread ID, I have found callback class's thread is different than sending data thread, but I can't confirm receiving data thread |
|
||||||
|
That's already the case. The caller thread sends the data, but doesn't receive the response. A thread from the client-side thread pool receives the response and invokes the callback.
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|