Exemple #1
0
 /// <summary>
 /// Abstract method to be filled in by a child class - data received from the
 /// network is injected into this method via the <see cref="NetworkData" /> data type.
 /// </summary>
 /// <param name="availableData">Data available from the network, including a response address</param>
 /// <param name="responseChannel">Available channel for handling network response</param>
 protected virtual void ReceivedData(NetworkData availableData, RefactorResponseChannel responseChannel)
 {
     //if (EventLoop.Receive != null)
     //{
     //    EventLoop.Receive(availableData, responseChannel);
     //}
 }
 protected override void ReceivedData(NetworkData availableData, RefactorResponseChannel responseChannel)
 {
     responseChannel.InvokeReceiveIfNotNull(availableData);
 }
 protected override void ReceivedData(NetworkData availableData, RefactorResponseChannel responseChannel)
 {
     responseChannel.OnReceive(availableData);
 }