public bool Subscribe(string queue, PubSubQueueLostType lostType) { var msgPack = new Envelope(); msgPack.Append(SubscribeProtocol.Command); msgPack.Append(queue); msgPack.Append((byte)lostType); return(socket.Send(msgPack.ToByteArray())); }
public PairSocketSubscribe(PairSocket pairSocket, PubSubQueueLostType persistent) { PairSocket = pairSocket; }