[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] [sc-dev] Re: Binary Release [test] of ScGraph




So my question was: How to tell the Server class to treat the graphics server as remote one even though the network address is local. I.e.: Do not boot scsynth..

I have a suggestion for a solution (to be discussed on the sc-dev list):

add a variable remoteControlled = true; to the server.


then you just write:

s.remoteControlled = false;
s.boot;

There has been a confusion by implicitly assuming that isLocal means that the server is remote controlled. We had a similar problem with killing networked servers (it is the same but the other way round: you want to be able to quit a / freeNodes of a remote server sometimes).

(I have a question to the other developers: should we get rid of the variable "sendQuit" and make it the same as remoteControlled or rather not?)

attached is a diff.

--





.

Attachment: server.diff
Description: Binary data