MIDServerFileSync - Global
The MIDServerFileSync script include provides methods to check to see if there are any changes to attachments on tables that are instances of MID Server synchronized files (ecc_agent_sync_file) and, if so, notifies the MID Servers of a change.
The tables that extend the sync tables are MID Server JAR file (ecc_agent_jar) and MID Server MIB File (ecc_agent_mib).
Use in server scripts to notify MID Servers.
MIDServerFileSync - MIDServerFileSync()
Creates an instance of MIDServerFileSync.
| Name | Type | Description |
|---|---|---|
| None |
MIDServerFileSync - notifyMIDServers(String table)
Checks for any changes to attachments on the specified table that are instances of MID server synchronized files and, if so, notifies the MID servers of a change.
| Name | Type | Description |
|---|---|---|
| table | String | The table to check |
| Type | Description |
|---|---|
| void |
var msfs = new MIDServerFileSync();
msfs.notifyMIDServers('ex.table.name');