SubObject Constructor (IProtocol, Byte, Int32) |
Ctor
Namespace:
Crosser.Common.Server.PubSub
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntaxpublic SubObject(
IProtocol protocol,
byte[] topic,
int unsubcount
)
Parameters
- protocol
- Type: Crosser.Common.Server.ProtocolIProtocol
Protocol that the subscription belongs to - topic
- Type: SystemByte
The topic to subscribe to. May have wild card ('+' for level) ('#' for full) - unsubcount
- Type: SystemInt32
If greater than 0 the subscription will auto-unsubscribe when reaching 0 subscriptions.
See Also