Feature #2765
Implementation of a factory
Status: | Resolved | Start date: | 09/24/2018 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | C# | |||
Target version: | - |
Description
A singleton to create listener and informer in a more comfortable way.
Associated revisions
Add factory singleton for participants
A singleton to create participants with the current repository and
current connection settings
fixes #2765
Signed-off-by: Johannes Wienke <jwienke@techfak.uni-bielefeld.de>
History
#1 Updated by S. Barut over 5 years ago
As some names of attributes in the default repository were changed, a new patch is necassary...
#2 Updated by S. Barut over 5 years ago
This patch got a bit changed, especially with the 3rd patch (Improve tcp connection...) to the 685072f (current remote/orgin HEAD) commit. Additionally, it is rebased to the currenct remote/origin HEAD.
#3 Updated by S. Barut over 5 years ago
So again, the patch got rebased. Additionally, the user can choose, if he want to give a hostname (which will be resolved) or a ip address. I don't know, if it works with IPv6. I couldn't test it, but it should work.
#4 Updated by S. Barut over 5 years ago
Rebased and changed name convention. For some reason c# likes it, to capitalize method names. So be it...
#5 Updated by J. Wienke over 5 years ago
Could you please move hostname and port to some socket-specific class until a configuration system exists. Some Stub class with just the two static members would probably suffice. I don't want to clutter the Factory with socket-specific information.
#6 Updated by S. Barut over 5 years ago
Sure...
#7 Updated by S. Barut over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset rsb-net|1a642d2e51f6c8e976b3f2bf686a83d354424d5d.