Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove Obsolete warnings

  • Loading branch information...
commit cf17a4cc7fa6e961624d921dc2a2e22f22d098c8 1 parent 03c4f6e
@paulcbetts authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/clrzmq/Socket.cs
View
4 src/clrzmq/Socket.cs
@@ -68,7 +68,6 @@ public class Socket : IDisposable {
/// avoid using application-wide Context objects.
/// </summary>
/// <param name="type">Socket type</param>
- [Obsolete("Sockets should be constructed using Context.Socket. Will be removed in 3.x.")]
public Socket(SocketType type) {
lock (_lockObj) {
if (_appContext == null) {
@@ -641,7 +640,6 @@ public class Socket : IDisposable {
/// <param name="flags">Receive options</param>
/// <returns>Queue of message parts</returns>
/// <exception cref="ZMQ.Exception">ZMQ Exception</exception>
- [Obsolete("Will be removed in version 3.x.")]
public Queue<byte[]> RecvAll(params SendRecvOpt[] flags) {
return RecvAll((Queue<byte[]>)null, flags);
}
@@ -655,7 +653,6 @@ public class Socket : IDisposable {
/// <param name="flags">Receive options</param>
/// <returns>Queue of message parts</returns>
/// <exception cref="ZMQ.Exception">ZMQ Exception</exception>
- [Obsolete("Will be removed in version 3.x.")]
public Queue<byte[]> RecvAll(Queue<byte[]> messages, params SendRecvOpt[] flags) {
if (messages == null) {
messages = new Queue<byte[]>();
@@ -692,7 +689,6 @@ public class Socket : IDisposable {
/// <param name="flags">Socket options to use when receiving</param>
/// <returns>Queue of message parts</returns>
/// <exception cref="ZMQ.Exception">ZMQ Exception</exception>
- [Obsolete("Will be removed in version 3.x.")]
public Queue<string> RecvAll(Encoding encoding, params SendRecvOpt[] flags) {
var messages = new Queue<string>();
messages.Enqueue(Recv(encoding, flags));
Please sign in to comment.
Something went wrong with that request. Please try again.