Constants
The COM API uses two sets of constants. The first set is for the Server object, described in the table below.
Constant Name |
Description/Default |
Example |
---|---|---|
SERVER.HOST |
String for server host name. Default is "localhost". |
65.89.200.89 |
SERVER.PORT |
String for server port. Default is "8080". |
10119 |
SERVER.ACCOUNT_ID |
String for server account ID. No default value. |
user1 |
SERVER.ACCOUNT_PASSWORD |
String for server account password. No default value. |
user1 |
SERVER.CONNECTION_TIMEOUT |
String for server connection timeout, in milliseconds. Default is "5000". |
50000 |
SERVER.CONNECTION_TYPE |
String for server connection type. Currently only supports HTTP, HTTPS, or SOCKET. Default is "HTTP". |
HTTP(S) |
SERVER.PROXY_HOST |
String for proxy server host name. No default value. |
192.168.1.77 |
SERVER.PROXY_PORT |
String for proxy server port. No default value. |
8080 |
SERVER.PROXY_USER |
String for proxy server account ID. No default value. |
user1 |
SERVER.PROXY_PASSWORD |
String for proxy server account password. No default value. |
user1 |
The second set of constants is for the Message component.
Constant Name |
Description |
Example |
---|---|---|
MESSAGE.CONTEXT_ACCOUNT_ID |
String for message context account ID. |
user1 |
MESSAGE.CONTEXT_ACCOUNT_PASSWORD |
String for message context account password. |
user1 |
MESSAGE.CONTEXT_SERVICE_NAME |
String for message context service name. |
echoservice |