Cisco Cisco Configuration Engine 3.0 Guia Do Programador

Página de 342
 
7-5
Cisco Configuration Engine Software Development Kit API Reference and Programmer Guide
OL-17661-01
Chapter 7      Device Administration Interface API
End User Interface
Argument
transportId – String that uniquely identifies the transport instance for the device.
Class AgentProxyTransport
This class extends off the Transport class and represents a Telnet transport mechanism. It provides 
methods for you to add hop information to reach the device.
Constructor
The constructor creates an instance of the AgentProxyTransprt object. 
Signature
AgentProxyTransport(String transportId, String gatewayId, String transportCategory)
Arguments
transportId – String that uniquely identifies the transport instance for the device.
gatewayId – String that gives the ID of the gateway that handles operations for the device.
transportCategory – String that gives the category of the non-agent transport to the device.
Set Gateway ID
This method sets the gateway ID for the device.
Signature
void setGatewayId (String gatewayId)
Arguments
gatewayId – String that gives the ID of the gateway that handles operations for the device.
Return Values
None.
Get Gateway ID
This method gets the gateway ID for the device.
Signature
String getGatewayId ()
Return Values
String that gives the gateway ID.