Skip to content

UftpRoleInformation#getSenderRole does not work for TestMessage #140

@tomwetjens

Description

@tomwetjens

Describe the bug
UftpRoleInformation#getSenderRole does not work for TestMessage

To Reproduce
Call UftpRoleInformation#getSenderRole with TestMessage.class.

It always returns AGR, but TestMessage can also be sent by other roles.

Expected behavior
There is no way to determine the role based solely on the TestMessage type. I think throwing an exception would at least not be incorrect.

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