X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tools%2Fxappmock%2Frmr%2FrmrEndPoint.go;h=82d01bdb7483bab4b311ee5d98e1bfa8f1eda492;hb=78d25790b63bd8de394108e6d0211a671ea960c8;hp=fa9cceb27cbb7e9b7033acf76d8e27acd8b720d2;hpb=bcb124908ffd1de0c00868838bbac733b881fcb2;p=ric-plt%2Fe2mgr.git diff --git a/tools/xappmock/rmr/rmrEndPoint.go b/tools/xappmock/rmr/rmrEndPoint.go index fa9cceb..82d01bd 100644 --- a/tools/xappmock/rmr/rmrEndPoint.go +++ b/tools/xappmock/rmr/rmrEndPoint.go @@ -17,7 +17,6 @@ package rmr import ( - "log" "strconv" ) @@ -33,10 +32,9 @@ func NewService(rmrConfig Config, messenger Messenger) *Service { } } -func (r *Service) SendMessage(messageType int, meid string, msg []byte, transactionId []byte) (*MBuf, error) { - log.Printf("#rmr.Service.SendMessage - type: %d, tid: %s, msg: %v", messageType, transactionId, msg) +func (r *Service) SendMessage(messageType int, ranName string, msg []byte, transactionId []byte) (*MBuf, error) { mbuf := NewMBuf(messageType, len(msg), msg, transactionId) - mbuf.Meid = meid + mbuf.Meid = ranName return (*r.messenger).SendMsg(mbuf) }