Cisco Cisco Configuration Engine 3.5 Entwickleranleitung

Seite von 344
7-7
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide 3.5
OL-17661-02
Chapter 7      Device Administration Interface API
End User Interface
port – Integer that indicates the port to which to Telnet. This applies to the case when the hop is a COMM 
Server hop.
userName – String that gives the username to login as.
password – String that gives the password for userName.
Set Hop Type
Method to set the hop type string.
Signature
void setHopType (String hopType)
Arguments
hopType - String that indicates the type of hop. The type of hop can be one of the pre-defined types in 
Cisco Configuration Engine, or user-defined.
Set IP Address
Method to set the IP address of the hop.
Signature
void setIpAddr(String ipAddr)
Arguments
ipAddr – String that gives the IP address for the hop.
Set Port
Method to set the port number for the hop.
Signature
void setPort (int port)
Arguments
port - Integer that indicates the port to which to Telnet. This applies to the case when the hop is a COMM 
Server hop.
Set Username
Method to set the username for the hop
Signature
void setUserName(String userName)
Arguments
userName – String that gives the username to login as.