C# 클래스 NetMQ.Sockets.PairSocket

A PairSocket is a NetMQSocket, usually used to synchronize two threads - using only one socket on each side.
상속: NetMQSocket
파일 보기 프로젝트 열기: mdhatmaker/Trading-prime-csharp 1 사용 예제들

공개 메소드들

메소드 설명
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