public void Submit(Client client) { Message msg = new Message(); msg.OpCode = MessageOpCode.DoScript; msg.Attributes["when"] = _trigger; msg.Attributes["do"] = _body; client.SendMessage(msg, null, OnResponseReceived); }
internal void Disconnect() { Client = null; }
internal void Connect(string hostname, int port) { Client = new Client(hostname, port); Client.Start(); }
public ScriptEditorViewModel(Client client) : base(client) { _client = client; }