예제 #1
0
 public TransportReceivingActor(Connection parent, ActorManager actorManager)
     : base(actorManager)
 {
     this.parent = parent;
     this.buffer = new byte[Constants.BufferSize];
     this.bufferStart = 0;
     this.bufferFull = false;
     this.decodingState = new DecodingState();
     this.pendingAcceptRequests = new Queue<AcceptAsyncResult>();
     this.pendingAcceptChannels = new Queue<Channel>();
     this.channelReceivingActors = new Dictionary<int, ChannelReceivingActor>();
 }
예제 #2
0
 internal Channel(Connection connection, int channelId)
 {
     this.connection = connection;
     this.channelId = channelId;
 }
예제 #3
0
 public SenderActor(Connection parent, ActorManager actorManager)
     : base(actorManager)
 {
     this.parent = parent;
     this.toSend = new Queue<SegmentHandlePair>();
     this.transportSendInProgress = false;
 }