Class Subscription
A peer's subscription to a topic.
Inherited Members
Namespace: PeerTalk.PubSub
Assembly: PeerTalk.dll
Syntax
[ProtoContract]
public class Subscription
Fields
| Improve this Doc View SourceSubscribe
Determines if the topic is subscribed to.
Declaration
[ProtoMember(1)]
public bool Subscribe
Field Value
Type | Description |
---|---|
Boolean | true if subscribing; otherwise, false if unsubscribing. |
Topic
The topic name/id.
Declaration
[ProtoMember(2)]
public string Topic
Field Value
Type | Description |
---|---|
String |