Skip to content

Commit d1bae9d

Browse files
author
Elad Zelingher
committed
Removing topic uri from local subscriber
1 parent 79aa910 commit d1bae9d

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

src/net45/Tests/WampSharp.Tests.Wampv2/Integration/PubSubReflectionTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public class MyCustomSubscriber : LocalSubscriber
219219
private ISerializedValue[] mArguments;
220220
private IDictionary<string, ISerializedValue> mArgumentsKeywords;
221221

222-
public MyCustomSubscriber() : base(null)
222+
public MyCustomSubscriber() : base()
223223
{
224224
}
225225

src/net45/WampSharp/WAMP2/V2/PubSub/Subscriber/LocalSubscriber.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,9 @@ namespace WampSharp.V2.PubSub
77
{
88
public abstract class LocalSubscriber : IWampRawTopicClientSubscriber
99
{
10-
private readonly string mTopic;
11-
1210
protected readonly static IWampFormatter<object> ObjectFormatter =
1311
WampObjectFormatter.Value;
1412

15-
protected LocalSubscriber(string topic)
16-
{
17-
mTopic = topic;
18-
}
19-
20-
public string Topic
21-
{
22-
get
23-
{
24-
return mTopic;
25-
}
26-
}
27-
2813
public abstract LocalParameter[] Parameters
2914
{
3015
get;

src/net45/WampSharp/WAMP2/V2/PubSub/Subscriber/MethodInfoSubscriber.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class MethodInfoSubscriber : LocalSubscriber
2020
private readonly ILog mLogger;
2121

2222
public MethodInfoSubscriber(object instance, MethodInfo method, string topic)
23-
: base(topic)
23+
: base()
2424
{
2525
mLogger = LogProvider.GetLogger(typeof(MethodInfoSubscriber) + "." + topic);
2626
mInstance = instance;

0 commit comments

Comments
 (0)