Ejemplo n.º 1
0
        public void StartBroadcastReceiver(Guid testId)
        {
            testLogger.LogTrace("Enter StartMulticastReceiver [{0}]", testId);
            IDataPathProtocolTest broadcastReceiver = testList[testId];

            broadcastReceiver.Start();
            testLogger.LogTrace("Exit StartMulticastReceiver [{0}]", testId);
        }
Ejemplo n.º 2
0
        public void StartMulticastSender(Guid testId)
        {
            testLogger.LogTrace("Enter StartMulticastSender [{0}]", testId);
            IDataPathProtocolTest multicastSender = testList[testId];

            multicastSender.Start();
            testLogger.LogTrace("Exit StartMulticastSender [{0}]", testId);
        }
Ejemplo n.º 3
0
        public void StartTcpReceiver(Guid testId)
        {
            testLogger.LogTrace("Enter StartTcpReceiver [{0}]", testId);
            IDataPathProtocolTest tcpReceiver = testList[testId];

            tcpReceiver.Start();
            testLogger.LogTrace("Exit StartTcpReceiver [{0}]", testId);
        }
Ejemplo n.º 4
0
        public void DisposeBroadcastReceiver(Guid testId)
        {
            testLogger.LogTrace("Enter DisposeBroadcastReceiver [{0}]", testId);
            IDataPathProtocolTest broadcastReceiver = testList[testId];

            broadcastReceiver.Stop();
            broadcastReceiver.Dispose();
            testList.Remove(testId);
            testLogger.LogTrace("Exit DisposeBroadcastReceiver [{0}]", testId);
        }
Ejemplo n.º 5
0
        public void DisposeMulticastSender(Guid testId)
        {
            testLogger.LogTrace("Enter DisposeMulticastSender [{0}]", testId);
            IDataPathProtocolTest multicastSender = testList[testId];

            multicastSender.Stop();
            multicastSender.Dispose();
            testList.Remove(testId);
            testLogger.LogTrace("Exit DisposeMulticastSender [{0}]", testId);
        }
Ejemplo n.º 6
0
        public Int64 StopBroadcastReceiver(Guid testId)
        {
            testLogger.LogTrace("Enter StopBroadcastReceiver [{0}]", testId);
            IDataPathProtocolTest broadcastReceiver = testList[testId];

            broadcastReceiver.Stop();
            Int64 unitsTransfered = broadcastReceiver.UnitsTransfered;

            testLogger.LogTrace("Exit StopBroadcastReceiver [{0}]", testId);
            return(unitsTransfered);
        }
Ejemplo n.º 7
0
        public Int64 StopMulticastSender(Guid testId)
        {
            testLogger.LogTrace("Enter StopMulticastSender [{0}]", testId);
            IDataPathProtocolTest multicastSender = testList[testId];

            multicastSender.Stop();
            Int64 unitsTransfered = multicastSender.UnitsTransfered;

            testLogger.LogTrace("Exit StopMulticastSender [{0}]", testId);
            return(unitsTransfered);
        }