C# Class NetMQ.Core.Options

Class Options is essentially a container for socket-related option-settings.
Afficher le fichier Open project: NetMQ/NetMQ3-x Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetSocketOption ( ZmqSocketOption option ) : object

Get the value of the specified option.

Options ( ) : System

Create a new Options object with all default values.

SetSocketOption ( ZmqSocketOption option, object optionValue ) : void

Assign the given optionValue to the specified option.

Method Details

GetSocketOption() public méthode

Get the value of the specified option.
A valid option must be specified.
public GetSocketOption ( ZmqSocketOption option ) : object
option ZmqSocketOption a ZmqSocketOption that specifies what to get
Résultat object

Options() public méthode

Create a new Options object with all default values.
public Options ( ) : System
Résultat System

SetSocketOption() public méthode

Assign the given optionValue to the specified option.
The option and optionValue must be valid.
public SetSocketOption ( ZmqSocketOption option, object optionValue ) : void
option ZmqSocketOption a ZmqSocketOption that specifies what to set
optionValue object an Object that is the value to set that option to
Résultat void