Пример #1
0
 public void OnClientTransmitted(int sent)
 {
     if (!m_IsMsgBeingTransmitted2Client)
     {
         LogUtility.LogUtility.LogFile("incrementing client stream  " + Convert.ToString(sent), ModuleLogLevel);
         EnterClientStreamCriticalArea();
         m_clientStream.IncrementOffset((uint)sent);
         LeaveClientStreamCriticalArea();
         LogUtility.LogUtility.LogFile("done  ", ModuleLogLevel);
     }
 }
Пример #2
0
 public void OnDestinationTransmitted(int sent)
 {
     if (!m_IsMsgBeingTransmitted2Destination)
     {
         LogUtility.LogUtility.LogFile("incrementing dest stream  " + Convert.ToString(sent), ModuleLogLevel);
         EnterDestinationStreamCriticalArea();
         m_destinationStream.IncrementOffset((uint)sent);
         LeaveDestinationStreamCriticalArea();
         LogUtility.LogUtility.LogFile("done  ", ModuleLogLevel);
     }
 }