4.2

Table Of Contents
Method Returns Description
getFile(String,String):Number Number
Copies a file from a remote host to the
Orchestrator server.
getString(String):String String
Gets the content of a remote file.
listAll(String):String[]
Array of String Lists all files and directories in a path.
listDir(String):String[]
Array of String Lists directories in a path.
listFile(String):String[]
Array of String Lists files in a path.
login(String,String,String):boo
lean
Boolean
Logs in on an FTP server.
putFile(String,String):Number Number
Copies a file from the Orchestrator
server to a remote host.
putString(String,String):Number Number
Puts a string of content to a remote file.
POP3Client Class
The POP3Client class is the main class for implementing POP3 funtionality into workflows.
The POP3Client class defines the POP3Client():POP3Client constructor.
The POP3Client class defines the following attributes.
Attribute Returns Description
output String
Command output if any
soLinger Number
Socket SO Linger (null if disabled)
state String
Connection state
tcpNoDelay Boolean
Socket TCP no delay
timeout Number
Socket timeout
The POP3Client 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 from the server.
enableSSL(boolean):Object Object
Enables SSL.
listMessages():POP3Message[]
Array of POP3Message Lists all messages. If there are no
messages, the method returns a zero
length array. If the operation fails, the
method returns null.
login(String,String):boolean Boolean
Logs in on POP3 server with the given
user name and password. You must first
connect to the server with the
connect() method, before attempting
to log in.
loginWithSecret(String,String,S
tring):boolean
Boolean
Logs in on POP3 server with the given
user name and authentication
information.
logout():Object Object
Logs out of the POP3 server. To fully
disconnect from the server, you must
call the disconnect() method.
Using VMware vCenter Orchestrator Plug-Ins
62 VMware, Inc.