summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-02-03 17:51:29 +0200
committerAlon Levy <alevy@redhat.com>2011-02-10 10:34:58 +0200
commitf94d08cf3f3e788f5139fdb1ea5fa1de90b16b06 (patch)
tree33d7204f1a1be400b2cd1fe425e47a6c97d73757 /python_modules/codegen.py
parent5ed405099293061ab8adb6dc79c9fcc58e42f731 (diff)
downloadspice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.tar.gz
spice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.tar.xz
spice-f94d08cf3f3e788f5139fdb1ea5fa1de90b16b06.zip
client/smartcard: libcacard dropped ReaderAddResponse
uses VSC_Error with code==VSC_SUCCESS instead. This means that the VSC_Error message is overloaded. Instead of the other option of adding a message id, since the connection is TCP so no messages may be dropped or reordered, by having each message followed by a response there is no ambiguity. Still this commit adds a queue for messages that we only have one of which outstanding at a time, i.e. send, wait for response, send the next, etc. This further simplifies the logic, while not adding much overhead since only when spicec starts up it has a situation where it needs to send two events (ReaderAdd and ATR for Card Insert).
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions