Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » RSE set host port number programmatically(RSE set host port number programmatically)
RSE set host port number programmatically [message #1115705] Tue, 24 September 2013 13:03
Mazaeva Darya is currently offline Mazaeva DaryaFriend
Messages: 3
Registered: May 2013
Junior Member
I am creating connection and need to set host port programmaticaly because it is 22 by default. Do anybody know how to do this?
ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
ISystemProfile profile =
String profileName = profile.getName();
String hostAlias = "myhost";
String hostname = "myhost";
String userId = "myid";

IRSESystemType systemType =
IHost host = systemRegistry.createHost(profileName, systemType, hostAlias,
hostname, null, userId, IRSEUserIdConstants.USERID_LOCATION_HOST, null);

Thanks in advance

Previous Topic:Using RSE synchronize cache to import files
Next Topic:serial port problem in terminal
Goto Forum:

Current Time: Tue Jul 27 19:41:08 GMT 2021

Powered by FUDForum. Page generated in 0.01531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top