Programmatically create a Telnet Terminal session [message #233200] |
Wed, 22 April 2009 14:41 |
John Moule Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
I would like to programmatically create a telnet session using the
Terminal view. I don't want any settings UI to be presented. Instead I
want to provide the telnet parameters programmatically. I think I need to
do that with an ITerminalConnector.
I've tried the code below, but am missing the crucial first step where the
View is created and I think that is why the onTerminalNewTerminal() is
failing.
ITerminalConnector con;
ITerminalView view;
view = new TerminalView();
TerminalActionNewTerminal newTerm = new TerminalActionNewTerminal(view);
view.onTerminalNewTerminal();
view.onTerminalConnect();
Any help for an entry point into this would be greatly appreciated.
cheers john
|
|
|
Powered by
FUDForum. Page generated in 0.02944 seconds