4.2.1

Table Of Contents
TelnetClient Class
The TelnetClient class is the main class for implementing Telnet functionality into workflows.
The TelnetClient class defines the TelnetClient(String):TelnetClient constructor.
The TelnetClient class defines the following attributes.
Attribute Returns Description
soLinger Number
Socket SO Linger (null if disabled)
tcpNoDelay Boolean
Socket TCP no delay
timeout Number
Socket timeout
The TelnetClient class defines the following methods.
Method Returns Description
connect(String,number):Object Object
Connects the client to a host.
disconnect():Object Object
Disconnects the client.
enableSSL(boolean):Object Object
Enables SSL.
receiveAsBinary():Object[]
Array of Object Gets a response as an array of numbers.
receiveAsString():string String
Gets a response as a string.
sendBinary(Object[]):Object Object
Sends binary information as an array of
numbers.
sendString(String):Object Object
Sends a string command.
waitForData(Number):boolean Boolean
Waits for data to become available and
returns true if data is available or
false if the request times out.
Using VMware vCenter Orchestrator Plug-Ins
66 VMware, Inc.