C# Class NetMQ.Core.Command

Defines a command sent between threads.
Show file Open project: NetMQ/NetMQ3-x Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Command ( [ destination, CommandType type, [ arg = null ) : JetBrains.Annotations

Create a new Command object for the given destination, type, and optional argument.

ToString ( ) : string

Override of ToString, which returns a string in the form [ command-type, destination ].

Method Details

Command() public method

Create a new Command object for the given destination, type, and optional argument.
public Command ( [ destination, CommandType type, [ arg = null ) : JetBrains.Annotations
destination [ a ZObject that denotes the destination for this command
type CommandType the CommandType of the new command
arg [ an Object to comprise the argument for the command (optional)
return JetBrains.Annotations

ToString() public method

Override of ToString, which returns a string in the form [ command-type, destination ].
public ToString ( ) : string
return string