Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
update container version
[ric-plt/e2mgr.git]
/
E2Manager
/
rmrCgo
/
rmrCgoTypes.go
diff --git
a/E2Manager/rmrCgo/rmrCgoTypes.go
b/E2Manager/rmrCgo/rmrCgoTypes.go
index
e37b97b
..
eff707c
100644
(file)
--- a/
E2Manager/rmrCgo/rmrCgoTypes.go
+++ b/
E2Manager/rmrCgo/rmrCgoTypes.go
@@
-13,7
+13,10
@@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-//
+
+// This source code is part of the near-RT RIC (RAN Intelligent Controller)
+// platform project (RICP).
+
package rmrCgo
package rmrCgo
@@
-67,6
+70,12
@@
const (
RIC_SCTP_CLEAR_ALL = C.RIC_SCTP_CLEAR_ALL
RIC_X2_RESET_RESP = C.RIC_X2_RESET_RESP
RIC_X2_RESET = C.RIC_X2_RESET
RIC_SCTP_CLEAR_ALL = C.RIC_SCTP_CLEAR_ALL
RIC_X2_RESET_RESP = C.RIC_X2_RESET_RESP
RIC_X2_RESET = C.RIC_X2_RESET
+ RIC_E2_TERM_INIT = C.E2_TERM_INIT
+ 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 (
)
const (
@@
-131,10
+140,9
@@
type Context struct {
}
type RmrMessenger interface {
}
type RmrMessenger interface {
- Init(port string, maxMsgSize int, flags int, logger *logger.Logger)
*
RmrMessenger
- SendMsg(msg *MBuf,
maxMsgSize int
) (*MBuf, error)
+ Init(port string, maxMsgSize int, flags int, logger *logger.Logger) RmrMessenger
+ SendMsg(msg *MBuf,
printLogs bool
) (*MBuf, error)
RecvMsg() (*MBuf, error)
RecvMsg() (*MBuf, error)
- RtsMsg(msg *MBuf)
IsReady() bool
Close()
}
IsReady() bool
Close()
}