Method | Description | |
---|---|---|
Subscribe ( byte topic ) : void |
Subscribe this socket to the given 'topic' - which means enable this socket to receive messages that begin with this array of bytes.
|
|
Subscribe ( string topic ) : void |
Subscribe this socket to the given 'topic' - which means enable this socket to receive messages that begin with this string prefix. You can set topic to an empty string to subscribe to everything.
|
|
Subscribe ( string topic, |
Subscribe this socket to the given 'topic' - which means enable this socket to receive messages that begin with this string prefix, using the given Encoding. You can set topic to an empty string to subscribe to everything.
|
|
SubscribeToAnyTopic ( ) : void |
Subscribe this socket to all topics - which means enable this socket to receive all messages regardless of what the string prefix is. This is the same as calling Subscribe with an empty-string for the topic.
|
|
SubscriberSocket ( string connectionString = null ) : System |
Create a new SubscriberSocket and attach socket to zero or more endpoints.
|
|
TrySend ( Msg &msg, System.TimeSpan timeout, bool more ) : bool | ||
Unsubscribe ( byte topic ) : void |
Remove this socket's subscription to the given topic.
|
|
Unsubscribe ( string topic ) : void |
Remove this socket's subscription to the given topic.
|
|
Unsubscribe ( string topic, |
Remove this socket's subscription to the given topic.
|
Method | Description | |
---|---|---|
Send ( Msg &msg, SendReceiveOptions options ) : void | ||
SubscriberSocket ( |
Create a new SubscriberSocket based upon the given SocketBase.
|
public Subscribe ( byte topic ) : void | ||
topic | byte | this specifies what byte-array prefix to subscribe to |
return | void |
public Subscribe ( string topic ) : void | ||
topic | string | this specifies what text-prefix to subscribe to, or may be an empty-string to specify ALL |
return | void |
public Subscribe ( string topic, |
||
topic | string | this specifies what text-prefix to subscribe to, or may be an empty-string to specify ALL |
encoding | the character-Encoding to use when converting the topic string internally into a byte-array | |
return | void |
public SubscriberSocket ( string connectionString = null ) : System | ||
connectionString | string | List of NetMQ endpoints, seperated by commas and prefixed by '@' (to bind the socket) or '>' (to connect the socket). /// Default action is connect (if endpoint doesn't start with '@' or '>') |
return | System |
public TrySend ( Msg &msg, System.TimeSpan timeout, bool more ) : bool | ||
msg | Msg | |
timeout | System.TimeSpan | |
more | bool | |
return | bool |
public Unsubscribe ( byte topic ) : void | ||
topic | byte | a byte-array denoting which the topic to stop receiving |
return | void |
public Unsubscribe ( string topic ) : void | ||
topic | string | a string denoting which the topic to stop receiving |
return | void |
public Unsubscribe ( string topic, |
||
topic | string | a string denoting which the topic to stop receiving |
encoding | the Encoding to use when converting the topic string internally into a byte-array | |
return | void |