public override string DoCommand(IVNCAction vncAction) { vncAction.Disconnect(); return VNCStateCommand.Instance.GetState(vncAction); }
public abstract string DoCommand(IVNCAction vncAction);
public string GetState(IVNCAction vncAction) { return DoCommand(vncAction); }
public override string DoCommand(IVNCAction vncAction) { if (vncAction.IsConnected()) return ConnectionStatus.Connected.ToString(); else return ConnectionStatus.Disconnected.ToString(); }