Script commands

Sametime® Gateway Server provides many wsadmin script commands to help you administer and maintain the Sametime Gateway Server .

The Sametime Gateway Server accepts a hash table in string format ($HashString) from the wsadmin script. A hash table, or a hash map, is a data structure that associates keys with values. The primary operation it supports efficiently is a look up. For example, when given a key such as person's email address for example, find the corresponding value for that person's Virtual Member Manager (VMM) ID. The hash table works by transforming the key using a hash function into a hash, a number that the hash table uses to locate the desired value. The script commands handles objects in the Sametime Gateway Server, such as a community, translation protocol, message handler, and so on, in which each entry's key is the name of an attribute in the object, and the entry's value is the associated object value. If there is a nested object in the encoded object, this is represented by a nested hash table.
For example, a community has a corresponding RTCGWServer object, so in the hash table that encodes community, the Sametime Gateway Server is represented by a hash entry whose key is "RTCGWServer" and whose value is a hash table. The RTCGWServer to community is one-to-one mapping.Sametime Gateway Server converts the incoming hash table into the objects used in the Sametime Gateway Server administration API and performs the requested function. After process, the Sametime Gateway Server converts returned objects back into hash tables and returns them as hash table objects to wsadmin.