Skip to content

UftpRoleInformation#getSenderRole does not work for TestMessage #140

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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