[RICPLT-2526] KeepAlive worker and response.
[ric-plt/e2mgr.git] / E2Manager / rmrCgo / rmrCgoTypes.go
index 1fe6032..f5c8d69 100644 (file)
@@ -71,6 +71,8 @@ const (
        RAN_CONNECTED                                            = C.RAN_CONNECTED
        RAN_RESTARTED                                            = C.RAN_RESTARTED
        RAN_RECONFIGURED                                         = C.RAN_RECONFIGURED
+       E2_TERM_KEEP_ALIVE_REQ                           = C.E2_TERM_KEEP_ALIVE_REQ
+       E2_TERM_KEEP_ALIVE_RESP                          = C.E2_TERM_KEEP_ALIVE_RESP
 )
 
 const (
@@ -136,7 +138,7 @@ type Context struct {
 
 type RmrMessenger interface {
        Init(port string, maxMsgSize int, flags int, logger *logger.Logger) RmrMessenger
-       SendMsg(msg *MBuf) (*MBuf, error)
+       SendMsg(msg *MBuf, printLogs bool) (*MBuf, error)
        RecvMsg() (*MBuf, error)
        IsReady() bool
        Close()