System.Collections.Concurrent.BlockingCollection.Add(PendingPacket)

Here are the examples of the csharp api class System.Collections.Concurrent.BlockingCollection.Add(PendingPacket) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: DCS-SimpleRadioStandalone
Source File: TCPVoiceRouter.cs
public void HandleMessage(ClientStateObject state, byte[] voip)
        {
            _pendingProcessingPackets.Add(new PendingPacket()
            {
                RawBytes = voip,
                ReceivedFrom = state.ClientGUID,
                ConnectedClient = state.WorkSocket
            });
        }