コード例 #1
0
        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()));
        }
コード例 #2
0
 public PairSocketSubscribe(PairSocket pairSocket, PubSubQueueLostType persistent)
 {
     PairSocket = pairSocket;
 }