emacs-epc
emacs-epc copied to clipboard
Specify the type of UID in readme.md.
I could not know the the type of the session ID.
In readme.md, UID is said to be following:
UID : The session ID, which is an unique ID generated by the caller side.
I thought, UID should be String but it actually is Integer.
Could you specify the type in readme.md? (or, Can I use String instead of Integer?)
I'm sorry for my not explaining enough in document.
In edbi, UID means just unique identifier. It is not UUID, nor other specs in anywhere else. The requirements of the UID are 1: Integer 2: Unique in the caller side. Using this UID, the epc stack manages the RPC sessions and determines which message is dispatched to the session. So, at least, UID should be unique in the active sessions. Almost implementations use simple increment counter.
I'll add this document to the readme. Thank you.