Skip to content

Commit

Permalink
Remove Obsolete warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Feb 6, 2012
1 parent 03c4f6e commit cf17a4c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/clrzmq/Socket.cs
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}
Expand All @@ -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[]>();
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit cf17a4c

Please sign in to comment.