Beispiel #1
0
 private void FireWrite(PduI pdu)
 {
     if (pdu is PDataTF)
     {
         if (log.IsDebugEnabled)
         {
             log.Debug("sending " + pdu);
         }
     }
     else
     {
         if (log.IsInfoEnabled)
         {
             log.Info("sending " + pdu.ToString(log.IsDebugEnabled));
         }
     }
     if (assocListener != null)
         assocListener.Write(assoc, pdu);
 }
Beispiel #2
0
 private PduI FireReceived(PduI pdu)
 {
     if (pdu is PDataTF)
     {
         if (log.IsDebugEnabled)
         {
             log.Debug("received " + pdu);
         }
     }
     else
     {
         if (log.IsInfoEnabled)
         {
             log.Info("received " + pdu.ToString(log.IsDebugEnabled));
         }
     }
     if (assocListener != null)
         assocListener.Received(assoc, pdu);
     return pdu;
 }
Beispiel #3
0
 public virtual void Write(Association src, PduI Pdu)
 {
 }
Beispiel #4
0
 public virtual void Received(Association src, PduI Pdu)
 {
 }
Beispiel #5
0
 public virtual void Received(Association src, PduI pdu)
 {
     a.Received(src, pdu);
     b.Received(src, pdu);
 }
Beispiel #6
0
 public virtual void Write(Association src, PduI pdu)
 {
     a.Write(src, pdu);
     b.Write(src, pdu);
 }