C# Класс NetMQ.Sockets.PairSocket

A PairSocket is a NetMQSocket, usually used to synchronize two threads - using only one socket on each side.
Наследование: NetMQSocket
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateSocketPair ( PairSocket &socket1, PairSocket &socket2 ) : void

Create and return an inproc pipe where socket1 is bound and socket2 is connected.

PairSocket ( string connectionString = null ) : System.Threading

Create a new PairSocket and attach socket to zero or more endpoints.

Приватные методы

Метод Описание
PairSocket ( SocketBase socketHandle ) : System.Threading

Create a new PairSocket based upon the given SocketBase.

Описание методов

CreateSocketPair() публичный статический Метод

Create and return an inproc pipe where socket1 is bound and socket2 is connected.
public static CreateSocketPair ( PairSocket &socket1, PairSocket &socket2 ) : void
socket1 PairSocket the Bind socket
socket2 PairSocket the Connect socket
Результат void

PairSocket() публичный Метод

Create a new PairSocket and attach socket to zero or more endpoints.
public PairSocket ( string connectionString = null ) : System.Threading
connectionString string List of NetMQ endpoints, separated 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 '>')
Результат System.Threading