C# Class NetMQ.Sockets.PullSocket

Part of the push pull pattern, will pull messages from push socket
Inheritance: NetMQSocket
ファイルを表示 Open project: NetMQ/NetMQ3-x Class Usage Examples

Public Methods

Method Description
PullSocket ( string connectionString = null ) : System

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

TrySend ( NetMQ.zmq.Msg &msg, System.TimeSpan timeout, bool more ) : bool

Private Methods

Method Description
PullSocket ( NetMQ.zmq.SocketBase socketHandle ) : System

Create a new PullSocket based upon the given SocketBase.

Send ( NetMQ.zmq.Msg &msg, SendReceiveOptions options ) : void

Method Details

PullSocket() public method

Create a new PullSocket and attach socket to zero or more endpoints.
public PullSocket ( string connectionString = null ) : System
connectionString string List of NetMQ endpoints, seperated by commas and prefixed by '@' (to bind the socket) or '>' (to connect the socket). /// Default action is bind (if endpoint doesn't start with '@' or '>')
return System

TrySend() public method

public TrySend ( NetMQ.zmq.Msg &msg, System.TimeSpan timeout, bool more ) : bool
msg NetMQ.zmq.Msg
timeout System.TimeSpan
more bool
return bool