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); }
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; }
public virtual void Write(Association src, PduI Pdu) { }
public virtual void Received(Association src, PduI Pdu) { }
public virtual void Received(Association src, PduI pdu) { a.Received(src, pdu); b.Received(src, pdu); }
public virtual void Write(Association src, PduI pdu) { a.Write(src, pdu); b.Write(src, pdu); }