Esempio n. 1
0
        public void TestInputFrameAck()
        {
            InputFrameAck packet = NanoPacketFactory
                                   .ParsePacket(ResourcesProvider.GetBytes("udp_input_frame_ack.bin", ResourceType.Nano), _context)
                                   as InputFrameAck;

            Assert.NotNull(packet);
            Assert.NotNull(packet.Header);

            Assert.Equal <NanoChannel>(NanoChannel.Input, packet.Channel);
            Assert.Equal <NanoPayloadType>(NanoPayloadType.Streamer, packet.Header.PayloadType);

            Assert.Equal <InputPayloadType>(InputPayloadType.FrameAck,
                                            (InputPayloadType)packet.StreamerHeader.PacketType);
            Assert.Equal <StreamerFlags>((StreamerFlags)0, packet.StreamerHeader.Flags);

            Assert.Equal <uint>(672208545, packet.AckedFrame);
        }
Esempio n. 2
0
 public abstract void OnFrameAck(InputFrameAck ack);
 public override void OnFrameAck(InputFrameAck ack)
 {
     throw new NotSupportedException("Input frameack on client side");
 }
 public override void OnFrameAck(InputFrameAck ack)
 {
 }
 public override void OnFrameAck(InputFrameAck ack)
 {
     throw new NotImplementedException("");
 }