csharp
public static class ChannelExtensionsWhat each Channel promises, asked rather than remembered.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
These four predicates are the whole of the channel contract, and everything above the transport — the reliability layer, the delta encoder, the simulation decorator — derives its behaviour from them rather than from a switch of its own. A fifth channel would then be one enum member and one line here.
Methods (4)
public static bool IsReliable(this Channel channel)Whether the channel promises the message arrives at all.
public static bool IsOrdered(this Channel channel)Whether the channel promises messages are observed in the order they were sent.
public static bool MayDrop(this Channel channel)Whether a message on this channel may be silently dropped.
public static bool MayDuplicate(this Channel channel)Whether a message on this channel may be delivered more than once.
Used by (4)
- ChannelReceiverVixen.Net.Transport.Udp
- ChannelTestsVixen.Net.Tests
- NetworkSimulationVixen.Net
- UdpTransportVixen.Net.Transport.Udp