Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scripting_function


Panel
titleDescription

This function returns a list of Gateway network servers that are visible from the local Gateway.

Client permissions restrictions


Panel
titleSyntax

system.net.getRemoteServers([runningOnly])

  • Parameters

Boolean runningOnly - If set to true, only servers on the Gateway Network that are running will be returned. Servers that have lost contact with the Gateway Network will be filtered out. [optional]

  • Returns

List[String, String] - A List list of Strings strings representing Gateway Network server idsIDs.

  • Scope

Gateway, Vision Client, Perspective Session

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
# The following creates a list of running servers on the Gateway Network, and shows the list in a message box.

# Collect the list of running servers.
runningServers = system.net.getRemoteServers(True)
 
# Initialize the start of the message.
serverStatusText = "The following servers are running:\n "
# Add each running server to the message.
for server in runningServers:
	serverStatusText += "%s \n" % server
 
# Show the message.
system.gui.messageBox(serverStatusText)
Panel
titleKeywords

system net getRemoteServers, net.getRemoteServers