Hi to all.
I am trying to implement a agent. I wrote the C++ code and recompiled with
no errors but when I try to attach the agent to a node I
get this error:
invalid command name "Agent/IMS"
while executing
"Agent/IMS create _o86 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/IMS"
invoked from within
"set ims [new Agent/IMS]"
(file "ping.tcl" line 41)
I have attached the source code files. Can anyone help? What modifications
do I need to make to already existing files?