Method | Description | |
---|---|---|
Receive ( this socket, Msg &msg ) : void |
Block until the next message arrives, then make the message's data available via msg. The call blocks until the next message arrives, and cannot be interrupted. This a convenient and safe when you know a message is available, such as for code within a NetMQSocket.ReceiveReady callback. |
|
ReceiveMultipartBytes ( [ socket, List |
Receive all frames of the next message from socket, blocking until a message arrives.
|
|
ReceiveSignal ( [ socket ) : bool |
Receive frames from socket, blocking until a valid signal arrives.
|
|
SkipFrame ( [ socket ) : void |
Receive a single frame from socket, blocking until one arrives, then ignore its content.
|
|
SkipFrame ( [ socket, bool &more ) : void |
Receive a single frame from socket, blocking until one arrives, then ignore its content. Indicate whether further frames exist via more.
|
|
SkipMultipartMessage ( [ socket ) : void |
Receive all frames of the next message from socket, blocking until a message arrives, then ignore their contents.
|
|
TryReceiveFrameBytes ( [ socket, System.TimeSpan timeout, byte &bytes ) : bool |
Attempt to receive a single frame from socket. If no message is available within timeout, return
|
|
TryReceiveFrameBytes ( [ socket, System.TimeSpan timeout, byte &bytes, bool &more ) : bool |
Attempt to receive a single frame from socket. If no message is available within timeout, return
|
|
TryReceiveFrameBytes ( [ socket, byte &bytes ) : bool |
Attempt to receive a single frame from socket. If no message is immediately available, return
|
|
TryReceiveFrameBytes ( [ socket, byte &bytes, bool &more ) : bool |
Attempt to receive a single frame from socket. If no message is immediately available, return
|
|
TryReceiveFrameString ( [ socket, System.TimeSpan timeout, [ encoding, string &frameString ) : bool |
Attempt to receive a single frame from socket, and decode as a string using encoding. If no message is available within timeout, return
|
|
TryReceiveFrameString ( [ socket, System.TimeSpan timeout, [ encoding, string &frameString, bool &more ) : bool |
Attempt to receive a single frame from socket, and decode as a string using encoding. If no message is available within timeout, return
|
|
TryReceiveFrameString ( [ socket, System.TimeSpan timeout, string &frameString ) : bool |
Attempt to receive a single frame from socket, and decode as a string using DefaultEncoding. If no message is available within timeout, return
|
|
TryReceiveFrameString ( [ socket, System.TimeSpan timeout, string &frameString, bool &more ) : bool |
Attempt to receive a single frame from socket, and decode as a string using DefaultEncoding. If no message is available within timeout, return
|
|
TryReceiveFrameString ( [ socket, [ encoding, string &frameString ) : bool |
Attempt to receive a single frame from socket, and decode as a string using encoding. If no message is immediately available, return
|
|
TryReceiveFrameString ( [ socket, [ encoding, string &frameString, bool &more ) : bool |
Attempt to receive a single frame from socket, and decode as a string using encoding. If no message is immediately available, return
|
|
TryReceiveFrameString ( [ socket, string &frameString ) : bool |
Attempt to receive a single frame from socket, and decode as a string using DefaultEncoding. If no message is immediately available, return
|
|
TryReceiveFrameString ( [ socket, string &frameString, bool &more ) : bool |
Attempt to receive a single frame from socket, and decode as a string using DefaultEncoding. If no message is immediately available, return
|
|
TryReceiveMultipartBytes ( [ socket, List |
Attempt to receive all frames of the next message from socket. If no message is immediately available, return
|
|
TryReceiveMultipartBytes ( [ socket, System.TimeSpan timeout, List |
Attempt to receive all frames of the next message from socket. If no message is available within timeout, return
|
|
TryReceiveMultipartMessage ( [ socket, System.TimeSpan timeout, [ message, int expectedFrameCount = 4 ) : bool |
Attempt to receive all frames of the next message from socket. If no message is available within timeout, return
|
|
TryReceiveMultipartMessage ( [ socket, [ message, int expectedFrameCount = 4 ) : bool |
Attempt to receive all frames of the next message from socket. If no message is immediately available, return
|
|
TryReceiveMultipartStrings ( [ socket, System.TimeSpan timeout, [ encoding, [ |
Attempt to receive all frames of the next message from socket, and decode them as strings using encoding. If no message is available within timeout, return
|
|
TryReceiveMultipartStrings ( [ socket, System.TimeSpan timeout, [ |
Attempt to receive all frames of the next message from socket, and decode them as strings using DefaultEncoding. If no message is available within timeout, return
|
|
TryReceiveMultipartStrings ( [ socket, [ encoding, [ |
Attempt to receive all frames of the next message from socket, and decode them as strings using encoding. If no message is immediately available, return
|
|
TryReceiveMultipartStrings ( [ socket, [ |
Attempt to receive all frames of the next message from socket, and decode them as strings using DefaultEncoding. If no message is immediately available, return
|
|
TryReceiveSignal ( [ socket, System.TimeSpan timeout, bool &signal ) : bool |
Attempt to receive a valid signal from socket. If no message is available within timeout, return
|
|
TryReceiveSignal ( [ socket, bool &signal ) : bool |
Attempt to receive a valid signal from socket. If no message is immediately available, return
|
|
TrySkipFrame ( [ socket ) : bool |
Attempt to receive a single frame from socket, then ignore its content. If no message is immediately available, return
|
|
TrySkipFrame ( [ socket, System.TimeSpan timeout ) : bool |
Attempt to receive a single frame from socket, then ignore its content. If no message is available within timeout, return
|
|
TrySkipFrame ( [ socket, System.TimeSpan timeout, bool &more ) : bool |
Attempt to receive a single frame from socket, then ignore its content. If no message is available within timeout, return
|
|
TrySkipFrame ( [ socket, bool &more ) : bool |
Attempt to receive a single frame from socket, then ignore its content. If no message is immediately available, return
|
|
TrySkipMultipartMessage ( [ socket ) : bool |
Attempt to receive all frames of the next message from socket, then ignore their contents. If no message is immediately available, return
|
|
TrySkipMultipartMessage ( [ socket, System.TimeSpan timeout ) : bool |
Attempt to receive all frames of the next message from socket, then ignore their contents. If no message is available within timeout, return
|
Method | Description | |
---|---|---|
Receive ( [ socket ) : byte[] | ||
Receive ( [ socket, SendReceiveOptions options ) : byte[] | ||
Receive ( [ socket, SendReceiveOptions options, bool &hasMore ) : byte[] | ||
Receive ( [ socket, System.TimeSpan timeout ) : byte[] | ||
Receive ( [ socket, bool &hasMore ) : byte[] | ||
Receive ( [ socket, bool dontWait, bool &hasMore ) : byte[] | ||
ReceiveAll ( [ socket, int expectedFrameCount = 4 ) : List |
||
ReceiveAllString ( [ socket ) : IList |
||
ReceiveFrameBytes ( [ socket ) : byte[] | ||
ReceiveFrameBytes ( [ socket, bool &more ) : byte[] | ||
ReceiveFrameString ( [ socket ) : string | ||
ReceiveFrameString ( [ socket, [ encoding ) : string | ||
ReceiveFrameString ( [ socket, [ encoding, bool &more ) : string | ||
ReceiveFrameString ( [ socket, bool &more ) : string | ||
ReceiveMessage ( [ socket, System.TimeSpan timeout ) : NetMQMessage | ||
ReceiveMessage ( [ socket, bool dontWait = false ) : NetMQMessage | ||
ReceiveMessage ( [ socket, [ message, bool dontWait = false ) : void | ||
ReceiveMessages ( [ socket, int expectedFrameCount = 4 ) : List |
||
ReceiveMultipartBytes ( [ socket, int expectedFrameCount = 4 ) : List |
||
ReceiveMultipartMessage ( [ socket, int expectedFrameCount = 4 ) : NetMQMessage | ||
ReceiveMultipartStrings ( [ socket, [ encoding, int expectedFrameCount = 4 ) : List |
||
ReceiveMultipartStrings ( [ socket, int expectedFrameCount = 4 ) : List |
||
ReceiveString ( [ socket ) : string | ||
ReceiveString ( [ socket, SendReceiveOptions options ) : string | ||
ReceiveString ( [ socket, SendReceiveOptions options, bool &hasMore ) : string | ||
ReceiveString ( [ socket, System.TimeSpan timeout ) : string | ||
ReceiveString ( [ socket, [ encoding ) : string | ||
ReceiveString ( [ socket, [ encoding, SendReceiveOptions options ) : string | ||
ReceiveString ( [ socket, [ encoding, SendReceiveOptions options, bool &hasMore ) : string | ||
ReceiveString ( [ socket, [ encoding, System.TimeSpan timeout ) : string | ||
ReceiveString ( [ socket, [ encoding, bool &hasMore ) : string | ||
ReceiveString ( [ socket, [ encoding, bool dontWait, bool &hasMore ) : string | ||
ReceiveString ( [ socket, bool &hasMore ) : string | ||
ReceiveString ( [ socket, bool dontWait, bool &hasMore ) : string | ||
ReceiveStringMessages ( [ socket, [ encoding, int expectedFrameCount = 4 ) : List |
||
ReceiveStringMessages ( [ socket, int expectedFrameCount = 4 ) : List |
||
WaitForSignal ( [ socket ) : bool |
public static Receive ( this socket, Msg &msg ) : void | ||
socket | this | The socket to receive from. |
msg | Msg | An object to receive the message's data into. |
return | void |
public static ReceiveMultipartBytes ( [ socket, List |
||
socket | [ | The socket to receive from. |
frames | List |
Reference to a list for return values. If |
expectedFrameCount | int | Optional initial |
return | void |
public static ReceiveSignal ( [ socket ) : bool | ||
socket | [ | The socket to receive from. |
return | bool |
public static SkipFrame ( [ socket ) : void | ||
socket | [ | The socket to receive from. |
return | void |
public static SkipFrame ( [ socket, bool &more ) : void | ||
socket | [ | The socket to receive from. |
more | bool | |
return | void |
public static SkipMultipartMessage ( [ socket ) : void | ||
socket | [ | The socket to receive from. |
return | void |
public static TryReceiveFrameBytes ( [ socket, System.TimeSpan timeout, byte &bytes ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
bytes | byte | The content of the received message frame, or |
return | bool |
public static TryReceiveFrameBytes ( [ socket, System.TimeSpan timeout, byte &bytes, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
bytes | byte | The content of the received message frame, or |
more | bool | |
return | bool |
public static TryReceiveFrameBytes ( [ socket, byte &bytes ) : bool | ||
socket | [ | The socket to receive from. |
bytes | byte | The content of the received message frame, or |
return | bool |
public static TryReceiveFrameBytes ( [ socket, byte &bytes, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
bytes | byte | The content of the received message frame, or |
more | bool | |
return | bool |
public static TryReceiveFrameString ( [ socket, System.TimeSpan timeout, [ encoding, string &frameString ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frameString | string | The content of the received message frame as a string, or |
return | bool |
public static TryReceiveFrameString ( [ socket, System.TimeSpan timeout, [ encoding, string &frameString, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frameString | string | The content of the received message frame as a string, or |
more | bool | |
return | bool |
public static TryReceiveFrameString ( [ socket, System.TimeSpan timeout, string &frameString ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
frameString | string | The content of the received message frame as a string, or |
return | bool |
public static TryReceiveFrameString ( [ socket, System.TimeSpan timeout, string &frameString, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
frameString | string | The content of the received message frame as a string, or |
more | bool | |
return | bool |
public static TryReceiveFrameString ( [ socket, [ encoding, string &frameString ) : bool | ||
socket | [ | The socket to receive from. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frameString | string | The content of the received message frame as a string, or |
return | bool |
public static TryReceiveFrameString ( [ socket, [ encoding, string &frameString, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frameString | string | The content of the received message frame as a string, or |
more | bool | |
return | bool |
public static TryReceiveFrameString ( [ socket, string &frameString ) : bool | ||
socket | [ | The socket to receive from. |
frameString | string | The content of the received message frame as a string, or |
return | bool |
public static TryReceiveFrameString ( [ socket, string &frameString, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
frameString | string | The content of the received message frame as a string, or |
more | bool | |
return | bool |
public static TryReceiveMultipartBytes ( [ socket, List |
||
socket | [ | The socket to receive from. |
frames | List |
Reference to a list for return values. If |
expectedFrameCount | int | Optional initial |
return | bool |
public static TryReceiveMultipartBytes ( [ socket, System.TimeSpan timeout, List |
||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
frames | List |
Reference to a list for return values. If |
expectedFrameCount | int | Optional initial |
return | bool |
public static TryReceiveMultipartMessage ( [ socket, System.TimeSpan timeout, [ message, int expectedFrameCount = 4 ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
message | [ | The received message. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveMultipartMessage ( [ socket, [ message, int expectedFrameCount = 4 ) : bool | ||
socket | [ | The socket to receive from. |
message | [ | The received message. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveMultipartStrings ( [ socket, System.TimeSpan timeout, [ encoding, [ |
||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frames | [ |
The frames of the received message as strings. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveMultipartStrings ( [ socket, System.TimeSpan timeout, [ |
||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
frames | [ |
The frames of the received message as strings. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveMultipartStrings ( [ socket, [ encoding, [ |
||
socket | [ | The socket to receive from. |
encoding | [ | The encoding used to convert the frame's data to a string. |
frames | [ |
The frames of the received message as strings. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveMultipartStrings ( [ socket, [ |
||
socket | [ | The socket to receive from. |
frames | [ |
The frames of the received message as strings. Untouched if no message was available. |
expectedFrameCount | int | Specifies the initial capacity of the |
return | bool |
public static TryReceiveSignal ( [ socket, System.TimeSpan timeout, bool &signal ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
signal | bool | |
return | bool |
public static TryReceiveSignal ( [ socket, bool &signal ) : bool | ||
socket | [ | The socket to receive from. |
signal | bool | |
return | bool |
public static TrySkipFrame ( [ socket ) : bool | ||
socket | [ | The socket to receive from. |
return | bool |
public static TrySkipFrame ( [ socket, System.TimeSpan timeout ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
return | bool |
public static TrySkipFrame ( [ socket, System.TimeSpan timeout, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
more | bool | |
return | bool |
public static TrySkipFrame ( [ socket, bool &more ) : bool | ||
socket | [ | The socket to receive from. |
more | bool | |
return | bool |
public static TrySkipMultipartMessage ( [ socket ) : bool | ||
socket | [ | The socket to receive from. |
return | bool |
public static TrySkipMultipartMessage ( [ socket, System.TimeSpan timeout ) : bool | ||
socket | [ | The socket to receive from. |
timeout | System.TimeSpan | The maximum period of time to wait for a message to become available. |
return | bool |