This class provides method implementations necessary for OM to manage servers participating in cluster.
WSDL sample Url: http://localhost:5080/openmeetings/services/ServerService?wsdl
Method to retrieve the list of the servers participating in cluster
Return Type: org.apache.openmeetings.persistence.beans.basic.Server[]
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | - session id to identify the user making request |
int | start | - server index to start with |
int | max | - Maximum server count |
Method to retrieve the total count of the servers participating in cluster
Return Type: int
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | - session id to identify the user making request |
Method to add/update server
Return Type: long
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | - session id to identify the user making request |
long | id | - the id of the server to save |
String | name | - the name of the server to save |
String | address | - the address(DNS name or IP) of the server to save |
int | port | - the http port of the slave |
String | user | - REST user to access the slave |
String | pass | - REST pass to access the slave |
String | webapp | - webapp name of the OpenMeetings instance |
String | protocol | - protocol to access the OpenMeetings instance |
Boolean | active | - if the server currently participates in the cluster or not |
String | comment | - comment for the server |
Method to delete server
Return Type: boolean
Params:
Type | Fieldname | Description |
---|---|---|
String | SID | - session id to identify the user making request |
long | id | - the id of the server to delete |