private void OnFullMessageReceived(object sender, MessageEventHandlerArgs args) { _log.Info("Full message received From: {0}, To: {1}, Text: {2}", args.GetFirst <DeliverSm>().SourceAddress, args.GetFirst <DeliverSm>().DestinationAddress, args.Text); }
private void OnFullMessageReceived(object sender, MessageEventHandlerArgs args) { DeliverSm pdu = args.GetFirst <DeliverSm>(); _log.Info(string.Format("Full message received from {0}: {1}", pdu.SourceAddress, args.Text)); }
private void OnFullMessageTimeout(object sender, MessageEventHandlerArgs args) { _log.Info("Incomplete message received From: {0}, Text: {1}", args.GetFirst <DeliverSm>().SourceAddress, args.Text); }
private void OnFullMessageTimedout(object sender, MessageEventHandlerArgs args) { DeliverSm pdu = args.GetFirst <DeliverSm>(); _log.Info(string.Format("Incomplete message received from {0}", pdu.SourceAddress)); }