[QFJ-424] What does the bool response on sendToTarget tell me Created: 24/Mar/09  Updated: 24/Jun/09  Resolved: 24/Jun/09

Status: Closed
Project: QuickFIX/J
Component/s: Documentation
Affects Version/s: None
Fix Version/s: None

Type: Other Priority: Default
Reporter: paul ogier Assignee: Laurent Danesi
Resolution: Fixed Votes: 0
Labels: None


 Description   

The sendToTarget method returns a boolean. Does this boolean tell me anything, such as whether the message has reached it's destination ?

Thanks in advance.



 Comments   
Comment by Laurent Danesi [ 26/May/09 ]

Hi,

The sendToTarget return false when the Message cannot be sent to the counterpart and return true when the message was sent.
But as QuickFixJ is using MINA and asynchronous socket operations by default, you will ever get true is the socket is connected.

Laurent

Comment by paul ogier [ 26/May/09 ]

Thanks for the response.

Generated at Sat Nov 23 09:20:20 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.