Skip to content

The combination of resource ID of source and sink #166

@evshary

Description

@evshary

When I'm using the L2 API, I found that InMemoryRpcServer call register_listener with source UUri UUri::any(), which means //*/FFFF/FF/FFFF.

origin_filter.unwrap_or(&UUri::any()),

I created a table here before to list all the combinations of resource ID for register_listener.
image
The reason I removed source resource_id=FFFF & sink resource_id=[1-7FFF] is that the source resource_id should always be 0 here. However, I agree that in the L2 API case, it might be annoying for users to use //*/FFFF/FF/0 as the source Uri.

Furthermore, if we decided to add back the combination of {FFFF, 1-7FFF}, then it will come across the question I met before. Should we also add back the other cases?

@sophokles73 WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions