Tasks #339
Enhancement #337: Simplify Notification Protocol Buffer Descriptors
Remove type_id from Attachment PB?
Status: | Resolved | Start date: | 05/29/2011 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | Protocol | |||
Target version: | 0.3 |
Description
Since the Notifcation PB has wire_schema and each transport has exactly one associated wire-type (see Types), this seems to be unused.
Associated revisions
Adapted spread transport to changed protocol buffers
refs #337, #339
refs #337, #339
- src/transport/spread/fragmentation.lisp (assembly::id): store id as
octet-vector
(assembly-concatenated-data): changed retrieval of payload according
to changed protocol buffers
(assembly-pool::assemblies): use `equalp' as hash-table test
(ensure-assembly assembly-pool simple-array integer): changed
specializer string -> simple-array - src/transport/spread/conversion.lisp (one-notification->event):
removed attachment; retrieve id and scope as byte arrays; retrieve
user-level meta-data from meta-data object
(event-notifications): do not preprocess id and scope
(make-notification): do not create attachment; store id and scope as
byte arrays; store user-level meta-data in meta-data object - test/transport/spread/fragmentation.lisp: adapted creation of
notifications to changed protocol buffers - cl-rsb.asd (system connection cl-rsb-and-cl-protobuf): changed
protocol buffer descriptors files
data/{Attachment,MetaData,Notification}.proto -> data/Protocol.proto
History
#1 Updated by J. Moringen almost 13 years ago
- Parent task set to #337
#2 Updated by J. Wienke almost 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1318.