C# Class NetMQ.Core.Options

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

Private Properties

Property Type Description

Public Methods

Method 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 method

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
return object

Options() public method

Create a new Options object with all default values.
public Options ( ) : System
return System

SetSocketOption() public method

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
return void