Sets the connection mode for the client sessionClient. Normally a client Client runs in mode 3, which is read-write. You may wish to change this to mode 2, which is read-only, which will only allow reading and subscribing to tagsTags, and running SELECT queries. Tag writes and INSERT / UPDATE / DELETE queries will not function. You can also set the connection mode to mode 1, which is disconnected, all tag Tag and query features will not work.
|Client permissions restrictions|
Integer mode - The new connection mode: 1 = Disconnected, 2 = Read-only, 3 = Read/Write.
system util setConnectionMode, util.setConnectionMode