nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Support jamming priority (similar to CID) upon transmission #21

Open jpswinski opened 5 years ago

jpswinski commented 5 years ago

The library could open mutliple storage services per channel - one for each bundle priority (bulk, normal, expedited. This could be handled similar to how DACS and data bundles each have their own storage service with DACS being polled first.

The code could then wrap the dequeue function into a local function that goes through the list of storage services in priority order and returning the first bundle retrieved.

jpswinski commented 4 years ago

The storage service does not need to have prioritization, but the channel itself needs to have a priority that is jammed (similar to the CID) upon loading the bundle.

jpswinski commented 4 years ago

The class of service will need to be a field in the pri_blk