Commit Graph

32 Commits

Author SHA1 Message Date
Michael Davidsaver 68cc69b984 client: propagate exception during early op. setup 2023-09-11 10:37:00 +02:00
Michael Davidsaver f20d958c46 client: avoid assert() with invalid forceServer
op->chan may not be set if Channel::build() throws.
eg. if forced server name is invalid for connect().
2023-09-11 10:37:00 +02:00
Michael Davidsaver aef69c9f25 redo INST_COUNTER
Allow for use by pvxsIoc
2023-05-09 22:24:19 -07:00
Michael Davidsaver cce797263d fix handling of pva_ctrl_msg::SetEndian 2022-05-18 10:32:16 -07:00
Michael Davidsaver 5d3a21f030 client Channel search bypass
Bypass the broadcast search phase and directly connect
to a specific server and issue CMD_CREATE_CHANNEL.

Note, due to pvAccessCPP buggyness, this can only be relied
upon to connect with the unadvertised magic 'server' PV.
2021-07-03 13:20:20 -07:00
Michael Davidsaver d3a38b3a21 Label Expert API 2021-06-27 10:17:14 -07:00
Michael Davidsaver 8555bb63ef client cancel() w/ tryCall()
Fail soft if  worker thread has already stopped.
2021-06-27 10:17:14 -07:00
Michael Davidsaver cd990fb459 reExecGet/Put() 2021-06-27 10:17:13 -07:00
Michael Davidsaver 708fbc8062 client: add *Builder::syncCancel(bool)
Option for asynchronous cancel (eg. implicitly through ~Operation).
2021-06-27 10:17:13 -07:00
Michael Davidsaver c4d2cd4a10 client: reorg context Pvt 2021-06-27 10:17:13 -07:00
Michael Davidsaver 60d275412f conn/chan tx/rx stat tracking 2021-06-27 10:17:13 -07:00
Michael Davidsaver 89f9c54d62 client: relax exec() synchronization
dispatch() instead of call().
2021-06-08 09:45:49 -07:00
Michael Davidsaver fb9f356457 client reExec() for Get 2021-06-08 09:45:49 -07:00
Michael Davidsaver 5d64bca234 complete change default log level to Warn 2021-05-06 08:46:20 -07:00
Michael Davidsaver e9ce80880d remote file:line from decode errors 2021-01-12 11:32:10 -08:00
Michael Davidsaver e52397fb63 Operation::cancel() return true if cancelled 2020-08-10 12:09:55 -07:00
Michael Davidsaver 33b6f362db client: Handle orphaned Operations
Allow Operation instances to outlive
the Context through which they were
created.
2020-08-10 12:09:55 -07:00
Michael Davidsaver 64400c5050 client Builders allow default ctor
simplify handling of Builders
2020-07-26 20:46:12 -07:00
Michael Davidsaver b0eecb949f fixup client operation object lifetime 2020-04-12 23:29:30 -07:00
Michael Davidsaver dd3706aa0f Avoid client Context leak
Keep no internal public Context refs.
2020-04-12 22:30:30 -07:00
Michael Davidsaver facb18ae00 Add log_exc_printf() with stack trace 2020-04-03 11:58:23 -07:00
Michael Davidsaver edadc31f96 add instanceSnapshot() 2020-03-24 18:38:10 -07:00
Michael Davidsaver 25e712eb2a client Add Operation::wait() 2020-03-12 19:52:00 -07:00
Michael Davidsaver 51f005d62e client warn when operation implicitly canceled 2020-03-09 16:34:18 -07:00
Michael Davidsaver 9e401a35fe client Result include peerName 2020-03-02 15:37:43 -08:00
Michael Davidsaver e668038250 client track opByIOID per channel
needed to handle CMD_DESTROY_CHANNEL
2020-03-02 15:37:43 -08:00
Michael Davidsaver b75449985d shuffle client *Builder 2020-02-26 08:38:15 -08:00
Michael Davidsaver b52065ccad client get/put/rpc 2020-02-26 08:38:15 -08:00
Michael Davidsaver 7d490dc69e client info() error delivery 2020-02-21 11:54:01 -08:00
Michael Davidsaver df837b5f32 minor info 2020-02-21 10:50:29 -08:00
Michael Davidsaver f76f1c8cb4 client info cancel 2020-02-21 10:46:05 -08:00
Michael Davidsaver 1edeab8a39 start client 2020-02-20 23:12:24 -08:00