Jimmy Armand
unread,Jun 6, 2012, 2:29:29 PM6/6/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NetconfX
Hi.
What would be really nice in netconfx is "openSession capability". Let
me explain myself. When you want to connect the device with neconfx,
you have to create a new connection each time. It would be nice to be
able to create one connection and multiple session within it. You see,
our equipment does not permit mutilple connection but multiple
sessions, yes. Unless you say that's it's possible it would be a nice
feature.
//-- Simple example:
if(! connectionOpen) { //-- Create connection once...
Connection netconfConn = new Connection(hostName,
netconfConn.connect(null,timeout,0);
connectionOpen = true;
}
...
aSession = netconfConn.openSession();
aSession.startSubsystem("netconf");
//-- Wrap the aSession in an object and return the object.
What do you think?