Ticket #6398 (closed: fixed)
Add method to LiveListenerFactory to check whether a connection can be made
Reported by: | Russell Taylor | Owned by: | Russell Taylor |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | LiveData |
Cc: | Blocked By: | ||
Blocking: | #6371 | Tester: | Jose Borreguero |
Description ¶
Some clients, in particular GUIs, may want to check whether the live stream is available to determine whether to enable some button or functionality. It would be better to have a common method on the factory, which returns a boolean, to do that. This will mean that the try-catch that's necessary will not be duplicated.
Change History
comment:1 Changed 8 years ago by Russell Taylor
- Owner set to Russell Taylor
- Status changed from new to accepted
comment:2 Changed 8 years ago by Russell Taylor
Re #6398. Lower logging level for failure message.
This is because some clients may want to try a connection, but without scary warning messages if it fails. Also increase the information in the exception.
Changeset: c7f685dac6f1978b96acd20dc221906d148b8ae2
comment:3 Changed 8 years ago by Russell Taylor
Re #6398. Method to check ability to connect to live listener.
Changeset: 399cdef024fc55532e858edae218a7db0a9f2416
comment:4 Changed 8 years ago by Russell Taylor
- Status changed from accepted to verify
- Resolution set to fixed