Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add document for notes on the protocol specification
- add debugging signal handler (nothing yet implemented) - add events to dispatcher (i.e. responses without requests) - make stream signed short (see protocol notes) - refactor decoding (all Struct is inside protocol.py, yeah!) - create EventMessage and implement event_handler contract - testasync: make event tester work
- Loading branch information
Showing
9 changed files
with
213 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
Here are some thoughts on the protocol specification (currently using v4) | ||
|
||
stream (sec 2.3) is listed as [short] which is a 2 byte unsigned value (sec 3.) , but has a maximum value of | ||
2 ** 15 (sec 2.3) and can contain a flag value of -1 (sec 2.3 & sec 4.2.6) | ||
|
||
How to remove registration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
|
||
CQL_VERSION = "3.0.0" | ||
SERVER_SENT = 0x80 | ||
EVENT_STREAM_ID = -1 | ||
|
||
|
||
class Opcode(int, Enum): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.