示例#1
0
 public ReliableFlowControl(short channelId, int connectionId, IChannelContext ctx, ReliableChannelConfig config = null)
 {
     m_ChannelId    = channelId;
     m_ConnectionId = connectionId;
     m_Context      = ctx;
     m_Config       = config ?? new ReliableChannelConfig();
     m_ReceiveQueue = new ReliableFragmentQueue(m_Config);
     m_TimeoutTimer = m_Config.Timeout;
 }
示例#2
0
 public ReliableChannel(ReliableChannelConfig config)
 {
     m_Config = config;
 }
示例#3
0
 public ReliableFragmentQueue(ReliableChannelConfig config)
 {
     m_Config = config;
 }