PowerServer open interfaces give users the opportunity to manage services provided by PowerServer through PowerBuilder code. There are the following open interfaces provided by PowerServer:
-
getAllClients gets the IP addresses of all client machines which correspond to the active sessions that are opened for the specified application in the specified PowerServer.
-
getAllSessions returns the detail information of active sessions with XML format, which are opened for the specific application in the specific PowerServer.
-
getSessionByID returns the detail information of the specified session with XML format.
-
getSessionCount gets the total number of active sessions in a specified PowerServer or a PowerServer cluster.
-
getServerVersion gets gets the version number of the specified PowerServer.
-
killAllSessions kills all active sessions in a PowerServer or a PowerServer cluster and rolls back all associated transactions.
-
killSessions kills the specified session(s) in a PowerServer or a PowerServer cluster and rolls back the associated transactions.
-
rollbackAllTransactions rolls back all transactions in a PowerServer or a PowerServer cluster. To roll back all transactions in a PowerServer cluster, you need to first configure the cluster in AEM.
For the syntax of PowerServer open interfaces, refer to PowerServer open interfaces in Workarounds & APIs Guide.